File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 39
39
40
40
(lsp-register-client
41
41
(make-lsp-client :new-connection (lsp-stdio-connection (lambda () lsp-nix-rnix-server-path))
42
- :major-modes '(nix-mode)
42
+ :major-modes '(nix-mode nix-ts-mode )
43
43
:server-id 'rnix-lsp
44
44
:priority -1 ))
45
45
79
79
80
80
(lsp-register-client
81
81
(make-lsp-client :new-connection (lsp-stdio-connection (lambda () lsp-nix-nil-server-path))
82
- :major-modes '(nix-mode)
82
+ :major-modes '(nix-mode nix-ts-mode )
83
83
:initialized-fn (lambda (workspace )
84
84
(with-lsp-workspace workspace
85
85
(lsp--set-configuration
Original file line number Diff line number Diff line change @@ -408,6 +408,8 @@ the server has requested that."
408
408
"[/\\\\]\\.terraform\\'"
409
409
"[/\\\\]\\.terragrunt-cache\\'"
410
410
;; nix-direnv
411
+ "[/\\\\]\\result"
412
+ "[/\\\\]\\result-bin"
411
413
"[/\\\\]\\.direnv\\'")
412
414
"List of regexps matching directory paths which won't be monitored when
413
415
creating file watches. Customization of this variable is only honored at
@@ -914,6 +916,7 @@ Changes take effect only when a new session is started."
914
916
(robot-mode . "robot")
915
917
(racket-mode . "racket")
916
918
(nix-mode . "nix")
919
+ (nix-ts-mode . "Nix")
917
920
(prolog-mode . "prolog")
918
921
(vala-mode . "vala")
919
922
(actionscript-mode . "actionscript")
You can’t perform that action at this time.
0 commit comments