diff options
author | Matthew Kosarek <matt.kosarek@canonical.com> | 2024-08-06 08:02:18 -0400 |
---|---|---|
committer | Matthew Kosarek <matt.kosarek@canonical.com> | 2024-08-06 08:02:18 -0400 |
commit | fe8e871cea1b707d462cc297c1d7f69520126ce6 (patch) | |
tree | 078d88097833904677acfb0a22bfcfe6fd5878fd /lisp | |
parent | 319b97597c80dd78016731f8b19edf69fefb5259 (diff) | |
parent | 96f70935c3453fa39dc9b8b4446f0a467852e7e7 (diff) |
Merge branch 'master' of matthewkosarek.xyz:/srv/git/emacs_config
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/general.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/general.el b/lisp/general.el index e80bdd7..95966e4 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -245,8 +245,7 @@ :defer t :init (add-hook 'after-init-hook 'global-company-mode) :config - (bind-key* (kbd "C-.") 'company-complete) - (setq company-idle-delay nil + (setq company-idle-delay 0.1 company-minimum-prefix-length 2 company-tooltip-limit 10 company-backends '((company-capf company-gtags company-elisp company-css company-dabbrev company-nxml)) @@ -259,6 +258,7 @@ :defer t :init (company-quickhelp-mode 1) :config + (setq company-quickhelp-delay 0.1) (setq company-quickhelp-color-background (face-attribute 'default :background)) ) @@ -270,7 +270,9 @@ :bind ("<f2>" . #'eglot-rename) :config (add-to-list 'eglot-server-programs '((c++-mode c-mode) "clangd-19")) - (add-to-list 'eglot-server-programs `((dart-mode) "/home/matthew/Programs/flutter/bin/dart" "language-server"))) + (add-to-list 'eglot-server-programs `((dart-mode) "/home/matthew/Programs/flutter/bin/dart" "language-server")) + (add-hook 'c-mode-common-hook 'eglot-ensure) + (add-hook 'dart-mode-hook 'eglot-ensure)) ;; (set-face-underline 'eglot-highlight-symbol-face t) |