Enable crystal with crystalline as lsp
This commit is contained in:
parent
6192ececbf
commit
3bf3f0a436
@ -85,3 +85,13 @@
|
|||||||
;; work around emacs hanging when opening any python requirements.txt file
|
;; work around emacs hanging when opening any python requirements.txt file
|
||||||
;; see issue https://github.com/doomemacs/doomemacs/issues/5998
|
;; see issue https://github.com/doomemacs/doomemacs/issues/5998
|
||||||
(advice-add #'pip-requirements-fetch-packages :override #'ignore)
|
(advice-add #'pip-requirements-fetch-packages :override #'ignore)
|
||||||
|
|
||||||
|
;; enable crystalline lsp for crystal-mode
|
||||||
|
(with-eval-after-load 'lsp-mode
|
||||||
|
(add-to-list 'lsp-language-id-configuration
|
||||||
|
'(crystal-mode . "crystal"))
|
||||||
|
(lsp-register-client
|
||||||
|
(make-lsp-client :new-connection (lsp-stdio-connection '("crystalline"))
|
||||||
|
:activation-fn (lsp-activate-on "crystal")
|
||||||
|
:priority '1
|
||||||
|
:server-id 'crystalline)))
|
||||||
|
@ -115,7 +115,7 @@
|
|||||||
;;clojure ; java with a lisp
|
;;clojure ; java with a lisp
|
||||||
;;common-lisp ; if you've seen one lisp, you've seen them all
|
;;common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
;;coq ; proofs-as-programs
|
;;coq ; proofs-as-programs
|
||||||
;(crystal +lsp) ; ruby at the speed of c
|
(crystal +lsp) ; ruby at the speed of c
|
||||||
;;csharp ; unity, .NET, and mono shenanigans
|
;;csharp ; unity, .NET, and mono shenanigans
|
||||||
;;data ; config/data formats
|
;;data ; config/data formats
|
||||||
;;(dart +flutter) ; paint ui and not much else
|
;;(dart +flutter) ; paint ui and not much else
|
||||||
|
Loading…
Reference in New Issue
Block a user