feat(crystal): add +lsp flag and support

Since lsp-crystal is provided by lsp-mode.
This commit is contained in:
Henrik Lissner 2021-07-30 17:05:04 -04:00
parent 3c66264656
commit 443370b4d7

View file

@ -3,7 +3,9 @@
(after! crystal-mode
(set-lookup-handlers! 'crystal-mode
: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