mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feat(crystal): add +lsp flag and support
Since lsp-crystal is provided by lsp-mode.
This commit is contained in:
@ -3,7 +3,9 @@
|
|||||||
(after! crystal-mode
|
(after! crystal-mode
|
||||||
(set-lookup-handlers! 'crystal-mode
|
(set-lookup-handlers! 'crystal-mode
|
||||||
:definition #'crystal-def-jump
|
:definition #'crystal-def-jump
|
||||||
:references #'crystal-tool-imp))
|
:references #'crystal-tool-imp)
|
||||||
|
(when (featurep! +lsp)
|
||||||
|
(add-hook 'crystal-mode-local-vars-hook #'lsp!)))
|
||||||
|
|
||||||
|
|
||||||
(use-package! flycheck-crystal
|
(use-package! flycheck-crystal
|
||||||
|
Reference in New Issue
Block a user