A Tree-sitter grammar for the BNI format used in classic Blizzard games like Warcraft III.
The grammar can be used with any editor that supports Tree-sitter:
- VSCode — via JASS-Tree-sitter-Rust
- Neovim — with Tree-sitter integration (e.g. via
nvim-treesitter) - Zed — native Tree-sitter support
- Helix — built-in Tree-sitter highlighting
- Lapce — Tree-sitter-powered highlighting engine
This grammar is functional and evolving. Contributions and test cases welcome!