diff options
author | Alan Pearce | 2020-02-27 12:20:00 +0100 |
---|---|---|
committer | Alan Pearce | 2020-02-27 12:20:00 +0100 |
commit | e2c59a95f621160ddc8196d4887797ce1e9b915f (patch) | |
tree | b6b5cdd3b6503077c3bb3a608dc7cdd1fdb796fc /user/emacs | |
parent | 7c27ad62d62cdc246e9408d908a1e0b242bb17a9 (diff) | |
download | nixfiles-e2c59a95f621160ddc8196d4887797ce1e9b915f.tar.lz nixfiles-e2c59a95f621160ddc8196d4887797ce1e9b915f.tar.zst nixfiles-e2c59a95f621160ddc8196d4887797ce1e9b915f.zip |
Emacs: optimise lsp setup
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/.emacs.d/init.el | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el index 11dca233..9818194f 100644 --- a/user/emacs/.emacs.d/init.el +++ b/user/emacs/.emacs.d/init.el @@ -502,11 +502,6 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (use-package all-the-icons :config (setq all-the-icons-color-icons nil)) -(use-package company-lsp - :config (progn - (setq company-lsp-enable-snippet nil) - (add-to-list 'company-backends #'company-lsp))) - (eval-when-compile (require 'subr-x)) (eval-and-compile (defun company-tabnine-load-path () @@ -860,11 +855,12 @@ _p_rev _u_pper _=_: upper/lower _r_esolve scss-mode-hook html-mode-hook haskell-mode-hook) - #'lsp) + #'lsp-deferred) :config (progn (require 'lsp-clients) (setq lsp-auto-guess-root t lsp-auto-configure nil + lsp-idle-delay 0.5 lsp-enable-symbol-highlighting nil) (add-to-list 'lsp-language-id-configuration '(js-mode . "javascript")))) |