diff --git a/clients/lsp-nix.el b/clients/lsp-nix.el index 19d847f5c6..b50b40c659 100644 --- a/clients/lsp-nix.el +++ b/clients/lsp-nix.el @@ -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)) diff --git a/lsp-mode.el b/lsp-mode.el index 2c4b1827e8..0ed4c219f4 100644 --- a/lsp-mode.el +++ b/lsp-mode.el @@ -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")