emacs-31 c3bc0495491: Eglot: add 'nu-ts-mode' as a nushell major mode
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit c3bc04954913be4fdb704620044d1178ad44f2c6 Author: Oleksandr Makhmudov <[email protected]> Commit: Eli Zaretskii <[email protected]> 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 --- lisp/progmodes/eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index da6738412ac..457391572a0 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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"))