Starts lsp-session on demand per project
This commit is contained in:
9
.emacs
9
.emacs
@@ -189,6 +189,13 @@
|
|||||||
)
|
)
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(lsp-ui-doc-background ((t (:background "#373B41")))))
|
'(lsp-ui-doc-background ((t (:background "#373B41")))))
|
||||||
|
(advice-add 'lsp :before
|
||||||
|
(lambda (&rest _args)
|
||||||
|
(eval '(setf (lsp-session-server-id->folders (lsp-session)) (ht)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
:bind (
|
:bind (
|
||||||
("C-c C-d" . lsp-ui-doc-toggle)
|
("C-c C-d" . lsp-ui-doc-toggle)
|
||||||
@@ -509,8 +516,6 @@
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; After Init
|
;; After Init
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|||||||
Reference in New Issue
Block a user