Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Treesitter grammer and parser for the Noir Language

License

NotificationsYou must be signed in to change notification settings

hhamud/tree-sitter-noir

Repository files navigation

testnpmLatest versiongpl-3.0

Noir grammar and parser fortree-sitter

Emacs

To use with Emacs; use the followingpackage here.

NeoVim

  1. Make sure that you have the latest version of Neovim and have also installed the neovim tree-sitter plugin.

  2. Add the following lines to yourinit.vim file:

lua<<EOFlocalparser_config=require"nvim-treesitter.parsers".get_parser_configs()parser_config.noir= {install_info= {url="https://github.com/hhamud/tree-sitter-noir",-- the url for this tree-sitter grammarfiles= {"src/parser.c","src/scanner.c"},branch="main",    },filetype="noir",-- if filetype does not agrees with parser name you can define this field}require'nvim-treesitter.configs'.setup {ensure_installed="noir",-- The custom parserhighlight= {enable=true,-- false will disable the whole extension  },}EOF

Other

To install the grammar from NPM

npm i tree-sitter-noir

To install the grammar from cargo

cargo add tree-sitter-noir

References

Contributing

Contributions to tree-sitter-noir 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

Treesitter grammer and parser for the Noir Language

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp