A TreeSitter grammar for Neorg.
Command | Result |
---|---|
yarn |
installs needed dependencies (only do if you don't have tree-sitter in your path) |
yarn gen |
tree-sitter generate && node-gyp build |
yarn test |
tree-sitter test |
npm
can be used instead ofyarn
- When
yarn
is used with no args then it's replaced withnode install
- Has support for pretty much the entire specification
- Isn't a massive editor hog
If you know a thing or two about TreeSitter and would like to support us by contributing then please do!
If you have any questions you can ask away in the Github issues or on our discord! The specification can be found in the
docs/
directory in the Neorg Repo.