Defer lsp loading and disable indentation formatting
This commit is contained in:
parent
48c728f2c0
commit
5ee01380af
1 changed files with 4 additions and 3 deletions
|
|
@ -365,14 +365,15 @@
|
||||||
js-jsx-mode
|
js-jsx-mode
|
||||||
typescript-ts-mode
|
typescript-ts-mode
|
||||||
tsx-ts-mode) . lsp-deferred)
|
tsx-ts-mode) . lsp-deferred)
|
||||||
((python-mode python-ts-mode) . lsp)
|
((python-mode python-ts-mode) . lsp-deferred)
|
||||||
(nix-mode . lsp)
|
(nix-mode . lsp-deferred)
|
||||||
((swift-mode swift-ts-mode) .lsp))
|
((swift-mode swift-ts-mode) . lsp-deffered))
|
||||||
:commands lsp
|
:commands lsp
|
||||||
:custom
|
:custom
|
||||||
(lsp-keep-workspace-alive nil)
|
(lsp-keep-workspace-alive nil)
|
||||||
(lsp-keymap-prefix "C-c l")
|
(lsp-keymap-prefix "C-c l")
|
||||||
(lsp-enable-on-type-formatting nil)
|
(lsp-enable-on-type-formatting nil)
|
||||||
|
(lsp-enable-indentation nil)
|
||||||
:config
|
:config
|
||||||
(add-to-list 'lsp-language-id-configuration '(swift-ts-mode . "swift"))
|
(add-to-list 'lsp-language-id-configuration '(swift-ts-mode . "swift"))
|
||||||
(let ((lsp-sourcekit-executable (string-trim
|
(let ((lsp-sourcekit-executable (string-trim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue