diff --git a/README.md b/README.md index bc8c9bc..e36e02d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ # tree-sitter-dfraw A simple language parser and highlighter made with [tree-sitter]("https://github.com/tree-sitter/tree-sitter") + +# Using with [nvim-treesitter]("https://github.com/nvim-treesitter/nvim-treesitter") + +Please refer to the [adding parsers]("https://github.com/nvim-treesitter/nvim-treesitter#advanced-setup") 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.