🔧 nix lsp: use nixd
This commit is contained in:
parent
c328c8962c
commit
2de443f050
@ -58,9 +58,20 @@
|
||||
;;
|
||||
(global-wakatime-mode)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.njk" . web-mode))
|
||||
;; haskell
|
||||
(setq lsp-haskell-formatting-provider "stylish-haskell")
|
||||
|
||||
;; nix-mode
|
||||
(setq nix-nixfmt-bin "nixpkgs-fmt")
|
||||
(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)))
|
||||
|
||||
;; web-mode
|
||||
(add-to-list 'auto-mode-alist '("\\.njk" . web-mode))
|
||||
|
||||
;; TODO: remove when macport updates.
|
||||
;; see: https://discourse.doomemacs.org/t/how-to-have-tool-bar-mode-0-apply-at-startup-to-avoid-large-title-bar-on-macos-sonoma-when-using-railwaycat-homebrew-emacsmacport/4222/4
|
||||
|
Loading…
x
Reference in New Issue
Block a user