tree-sitter parser and syntax highlighter for the Dwarf Fortress raw language
Go to file
JellyApple102 d2e3da39d4 update README 2021-09-23 17:59:31 -04:00
bindings initial commit 2021-09-23 17:22:14 -04:00
queries initial commit 2021-09-23 17:22:14 -04:00
src initial commit 2021-09-23 17:22:14 -04:00
test/corpus initial commit 2021-09-23 17:22:14 -04:00
.gitignore update .gitignore 2021-09-23 17:42:40 -04:00
Cargo.toml initial commit 2021-09-23 17:22:14 -04:00
README.md update README 2021-09-23 17:59:31 -04:00
binding.gyp initial commit 2021-09-23 17:22:14 -04:00
grammar.js initial commit 2021-09-23 17:22:14 -04:00
package.json initial commit 2021-09-23 17:22:14 -04:00

tree-sitter-dfraw

A simple language parser and highlighter made with tree-sitter

Using with nvim-treesitter

Please refer to the adding parsers section on the nvim-treesitter page.

In order for syntax highlighting to work you copy queries/highlights.scm file from this repo to your nvim-treesitter location queries/dfraw/highlights.scm. More information can be found on the nvim-treesitter page.