Try enabling eglot lsp for nix
This commit is contained in:
parent
2dc9bcd1af
commit
47773717b0
4
init.el
4
init.el
|
@ -93,7 +93,7 @@
|
|||
(eval +overlay) ; run code, run (also, repls)
|
||||
;;gist ; interacting with github gists
|
||||
lookup ; navigate your code and its documentation
|
||||
;;lsp
|
||||
(lsp +eglot)
|
||||
magit ; a git porcelain for Emacs
|
||||
make ; run make tasks from Emacs
|
||||
;;pass ; password manager for nerds
|
||||
|
@ -113,7 +113,7 @@
|
|||
:lang
|
||||
;;agda ; types of types of types of types...
|
||||
cc ; C/C++/Obj-C madness
|
||||
clojure ; java with a lisp
|
||||
(clojure +lsp) ; java with a lisp
|
||||
common-lisp ; if you've seen one lisp, you've seen them all
|
||||
;;coq ; proofs-as-programs
|
||||
;;crystal ; ruby at the speed of c
|
||||
|
|
|
@ -46,6 +46,11 @@ Usage: (advice-add 'my-function-for-advisement :around 'tls-nocheck-error-advice
|
|||
:config
|
||||
(advice-add 'elpher-get-gemini-response :around 'tls-nocheck-error-advice))
|
||||
|
||||
(when (and (package! eglot) (package! nix-mode))
|
||||
(use-package eglot
|
||||
:config (add-to-list 'eglot-server-programs '(nix-mode . ("nil")))
|
||||
:hook (nix-mode . eglot-ensure)))
|
||||
|
||||
;; To install a package directly from a remote git repo, you must specify a
|
||||
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
||||
;; https://github.com/raxod502/straight.el#the-recipe-format
|
||||
|
|
Loading…
Reference in New Issue