mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-01 23:02:58 -08:00
fix(elixir): start lsp when ts and lsp are enabled
LSP will now correctly auto start when you have both +lsp and +tree-sitter flags on elixir module.
This commit is contained in:
parent
b55d988491
commit
4e2449031e
1 changed files with 3 additions and 0 deletions
|
|
@ -37,6 +37,9 @@
|
|||
(sp-local-pair "do " " end" :unless '(sp-in-comment-p sp-in-string-p))
|
||||
(sp-local-pair "fn " " end" :unless '(sp-in-comment-p sp-in-string-p)))
|
||||
|
||||
(when (modulep! +lsp +tree-sitter)
|
||||
(add-hook 'elixir-ts-mode-local-vars-hook #'lsp! 'append)
|
||||
|
||||
(when (modulep! +lsp)
|
||||
(add-hook 'elixir-mode-local-vars-hook #'lsp! 'append)
|
||||
(after! lsp-mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue