add nix-mode to eglot
This commit is contained in:
parent
53abe32896
commit
29e5e3e1a6
2 changed files with 6 additions and 0 deletions
|
|
@ -3977,6 +3977,7 @@ Let's give eglot a try.
|
|||
(rust-mode . eglot-ensure)
|
||||
(rustic-mode . eglot-ensure)
|
||||
(rust-ts-mode . eglot-ensure)
|
||||
(nix-mode . eglot-ensure)
|
||||
:config
|
||||
|
||||
(setq eglot-autoshutdown t)
|
||||
|
|
@ -3991,6 +3992,8 @@ Let's give eglot a try.
|
|||
(add-hook 'eglot-managed-mode-hook #'chris/eglot-capf)
|
||||
(add-to-list 'eglot-server-programs '(wgsl-mode "wgsl-analyzer"))
|
||||
(add-to-list 'eglot-server-programs '(qml-mode "qmlls"))
|
||||
(add-to-list 'eglot-server-programs
|
||||
'(nix-mode . ("nixd")))
|
||||
(add-to-list 'eglot-server-programs
|
||||
'(text-mode . ("harper-ls" "--stdio")))
|
||||
(add-to-list 'eglot-server-programs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue