Skip to content

Commit

Permalink
Enable nixd in nix-ts-mode too (#4521)
Browse files Browse the repository at this point in the history
* fix: Make nix-ts-mode consistent with nix-mode

* lsp-nix: Enable nixd in nix-ts-mode too
  • Loading branch information
SKyletoft authored Aug 23, 2024
1 parent b8dc079 commit c36b95b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clients/lsp-nix.el
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

(lsp-register-client
(make-lsp-client :new-connection (lsp-stdio-connection (lambda () lsp-nix-nixd-server-path))
:major-modes '(nix-mode)
:major-modes '(nix-mode nix-ts-mode)
:server-id 'nixd-lsp
:priority -1))

Expand Down
2 changes: 1 addition & 1 deletion lsp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ Changes take effect only when a new session is started."
(robot-mode . "robot")
(racket-mode . "racket")
(nix-mode . "nix")
(nix-ts-mode . "Nix")
(nix-ts-mode . "nix")
(prolog-mode . "prolog")
(vala-mode . "vala")
(actionscript-mode . "actionscript")
Expand Down

0 comments on commit c36b95b

Please sign in to comment.