Configure lsp mode
This commit is contained in:
parent
0eb9c8b5f7
commit
2c3281030e
1 changed files with 3 additions and 0 deletions
|
|
@ -360,6 +360,8 @@
|
|||
(global-ligature-mode t))
|
||||
|
||||
(use-package lsp-mode
|
||||
:bind (:map lsp-mode-map
|
||||
("M-." . lsp-find-definition))
|
||||
:hook
|
||||
((lsp-mode . lsp-diagnostics-mode)
|
||||
((js-mode
|
||||
|
|
@ -373,6 +375,7 @@
|
|||
:commands lsp
|
||||
:custom
|
||||
(lsp-keep-workspace-alive nil)
|
||||
(lsp-keymap-prefix "C-c l")
|
||||
:config
|
||||
(add-to-list 'lsp-language-id-configuration '(swift-ts-mode . "swift"))
|
||||
(let ((lsp-sourcekit-executable (string-trim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue