GitHub

License GPL 3 MELPA CI

Important

This package is deprecated in favor of nushell-ts-mode.

nushell-ts-mode uses Tree-sitter and is a functional superset of this package: in addition to more accurate syntax highlighting it provides indentation, imenu, structural navigation, completion-at-point, and Org Babel support. If you are on Emacs 29+ and can install the nu Tree-sitter grammar, you should prefer it.

nushell-mode remains available as a lightweight, zero-dependency option: it works on Emacs 24.4+ and needs no Tree-sitter grammar, only syntax highlighting. It receives maintenance updates only (keeping the keyword and built-in lists current with new Nushell releases); no new features are planned.

Features

  • Syntax highlighting

Installation

MELPA

The package is available via MELPA, so you can just type M-x package-install RET nushell-mode RET.

Doom Emacs

In packages.el:

(package! nushell-mode :recipe (:host github :repo "mrkkrp/nushell-mode"))

straight.el

(straight-use-package
 '(nushell-mode :type git :host github :repo "mrkkrp/nushell-mode"))

Credits

License

Copyright © 2023–present Mark Karpov
Copyright © 2022 Azzam S.A

Distributed under GNU GPL, version 3.

Read the original on github.com ↗