- Notifications
You must be signed in to change notification settings - Fork2
An Emacs tree-sitter mode for the Noir Language.
License
hhamud/noir-ts-mode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An Emacs tree-sitter mode for the Noir Language.
Make sure you have Emacs version 29.x and above.
Add the grammar to your settings as so:
(add-to-list'treesit-language-source-alist '(noir"https://github.com/hhamud/tree-sitter-noir.git"))
- Install the grammar
M-x treesit-install-language-grammar
- Check if it has installed successfully
(treesit-language-available-p'noir)
Download
noir-ts-mode.el
from theGitHub repository.Move
noir-mode.el
to a directory in your Emacs load path.Add the following code to your Emacs configuration file:
(require noir-ts-mode)
Once noir-ts-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.
Contributions to noir-ts-mode are welcome. If you find any issues or have suggestions for improvement, please create a new issue or submit a pull request on theGitHub repository.
About
An Emacs tree-sitter mode for the Noir Language.