Skip to content

Commit c36b95b

Browse files
authored
Enable nixd in nix-ts-mode too (#4521)
* fix: Make nix-ts-mode consistent with nix-mode * lsp-nix: Enable nixd in nix-ts-mode too
1 parent b8dc079 commit c36b95b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clients/lsp-nix.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
(lsp-register-client
5858
(make-lsp-client :new-connection (lsp-stdio-connection (lambda () lsp-nix-nixd-server-path))
59-
:major-modes '(nix-mode)
59+
:major-modes '(nix-mode nix-ts-mode)
6060
:server-id 'nixd-lsp
6161
:priority -1))
6262

lsp-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ Changes take effect only when a new session is started."
938938
(robot-mode . "robot")
939939
(racket-mode . "racket")
940940
(nix-mode . "nix")
941-
(nix-ts-mode . "Nix")
941+
(nix-ts-mode . "nix")
942942
(prolog-mode . "prolog")
943943
(vala-mode . "vala")
944944
(actionscript-mode . "actionscript")

0 commit comments

Comments
 (0)