diff options
Diffstat (limited to '')
-rw-r--r-- | init.org | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/init.org b/init.org index c677f8e..34fbae5 100644 --- a/init.org +++ b/init.org @@ -854,10 +854,13 @@ For languages where I want to use LSP, I need to add ~:hook (nix-mode . englot-e ("C-c l r" . eglot-rename)) :config (setq-default eglot-workspace-configuration - '((gopls - (usePlaceholders . t) - (staticcheck . t) - (completeUnimported . t))))) + '((gopls + (usePlaceholders . t) + (staticcheck . t) + (completeUnimported . t)))) + + ;; uses https://github.com/oxalica/nil for the LSP server instead of rnix + (add-to-list 'eglot-server-programs '(nix-mode . ("nixd")))) #+end_src *** tree-sitter |