feat(nix): add +lsp

Fix: #6592
This commit is contained in:
Henrik Lissner 2022-07-25 16:00:39 +02:00
parent 1448b8eee1
commit 26b8383cbd
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -29,6 +29,9 @@
;; dreadfully slow. It can still be invoked manually..
(setq-hook! 'nix-mode-hook company-idle-delay nil)
(when (featurep! +lsp)
(add-hook 'nix-mode-local-vars-hook #'lsp! 'append))
(map! :localleader
:map nix-mode-map
"f" #'nix-update-fetch