Henrik Lissner 2020-04-07 20:25:48 -04:00
parent 2cc304a646
commit d41da2a14a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 5 deletions

View file

@ -34,8 +34,7 @@ working on that project after closing the last buffer.")
;; Don't prompt the user for the project root every time we open a new ;; Don't prompt the user for the project root every time we open a new
;; lsp-worthy file, instead, try to guess it with projectile. ;; lsp-worthy file, instead, try to guess it with projectile.
(setq lsp-auto-guess-root t) (setq lsp-auto-guess-root t)
;; Auto-kill LSP server once you've killed the last buffer associated with its ;; Auto-kill LSP server after last workspace buffer is killed.
;; project.
(setq lsp-keep-workspace-alive nil) (setq lsp-keep-workspace-alive nil)
;; Let `flycheck-check-syntax-automatically' determine this. ;; Let `flycheck-check-syntax-automatically' determine this.
(setq lsp-flycheck-live-reporting nil) (setq lsp-flycheck-live-reporting nil)

View file

@ -1,11 +1,11 @@
;; -*- no-byte-compile: t; -*- ;; -*- no-byte-compile: t; -*-
;;; tools/lsp/packages.el ;;; tools/lsp/packages.el
(package! lsp-mode :pin "76fe399b40") (package! lsp-mode :pin "401d72462f")
(package! lsp-ui :pin "134d9b725d") (package! lsp-ui :pin "242dfe859c")
(when (featurep! :completion company) (when (featurep! :completion company)
(package! company-lsp :pin "f921ffa0cd")) (package! company-lsp :pin "f921ffa0cd"))
(when (featurep! :completion ivy) (when (featurep! :completion ivy)
(package! lsp-ivy :pin "39b90e7aef")) (package! lsp-ivy :pin "a6b7841e08"))
(when (featurep! :completion helm) (when (featurep! :completion helm)
(package! helm-lsp :pin "6f62659cc5")) (package! helm-lsp :pin "6f62659cc5"))