feat(crystal): add +lsp flag and support
Since lsp-crystal is provided by lsp-mode.
This commit is contained in:
parent
3c66264656
commit
443370b4d7
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue