fix(swift): activate lsp!
on +lsp
Close: #7441 Co-authored-by: itome <itome@users.noreply.github.com>
This commit is contained in:
parent
fed0f49ca7
commit
7266c11366
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
(after! swift-mode
|
||||
(set-repl-handler! 'swift-mode #'run-swift)
|
||||
|
||||
(when (modulep! +lsp)
|
||||
(add-hook 'swift-mode-local-vars-hook #'lsp! 'append))
|
||||
(when (modulep! +tree-sitter)
|
||||
(add-hook 'swift-mode-local-vars-hook #'tree-sitter! 'append)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue