noir-mode.el is a major mode for editing Noir language source files in Emacs. It provides syntax highlighting for working with Noir code.
- Syntax highlighting for keywords, types, globals, and functions in Noir.
- Automatic file association with
.nrfiles.
package-install noir-mode- Make sure you have Emacs version 25.1 and rust-mode 1.05 or higher installed.
- Download
noir-mode.elfrom the GitHub repository. - Move
noir-mode.elto a directory in your Emacs load path. - Add the following code to your Emacs configuration file:
(require 'noir-mode)Once noir-mode.el is installed, it will automatically be enabled when you open a .nr file. The major mode will provide syntax highlighting for editing Noir code.
M-;orAlt-;: Comment or uncomment a region of code.
Contributions to noir-mode.el are welcome. If you find any issues or have suggestions for improvement, please create a new issue or submit a pull request on the GitHub repository.