Enable nixd

This commit is contained in:
Andreas Zweili 2024-02-23 09:30:01 +01:00
parent f8a0ade629
commit fc2f826b6a
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,12 @@
;; if you want which-key integration
(lsp-mode . lsp-enable-which-key-integration))
:config
(with-eval-after-load 'lsp-mode
(lsp-register-client
(make-lsp-client :new-connection (lsp-stdio-connection "nixd")
:major-modes '(nix-mode)
:priority 0
:server-id 'nixd)))
(lsp-treemacs-sync-mode 1)
(setq company-minimum-prefix-length 1
company-idle-delay 0.0 ;; default is 0.2