mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(swift): activate lsp!
on +lsp
Close: #7441 Co-authored-by: itome <itome@users.noreply.github.com>
This commit is contained in:
@ -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)))
|
||||
|
||||
|
Reference in New Issue
Block a user