Eglot: add 'nu-ts-mode' as a nushell major mode

'nu-ts-mode' is an alternative tree-sitter-based major mode for
nushell.  This commit adds it to the list of major modes that run
the nushell language server.
* lisp/progmodes/eglot.el (eglot-server-programs): Add 'nu-ts-mode'.
(Bug#81206)

Copyright-paperwork-exempt: yes
This commit is contained in:
Oleksandr Makhmudov 2026-06-09 11:43:14 +02:00 committed by Eli Zaretskii
parent c0a33a474d
commit c3bc049549

View file

@ -317,7 +317,7 @@ automatically)."
((toml-ts-mode conf-toml-mode) . ("tombi" "lsp"))
(nix-mode . ,(eglot-alternatives '("nil" "rnix-lsp" "nixd")))
(nickel-mode . ("nls"))
((nushell-mode nushell-ts-mode) . ("nu" "--lsp"))
((nushell-mode nushell-ts-mode nu-ts-mode) . ("nu" "--lsp"))
(gdscript-mode . ("localhost" 6008))
(fennel-mode . ("fennel-ls"))
(move-mode . ("move-analyzer"))