From 94f823b6f8f60ee8440ab9ab6aaf6dfa5ad6f3ef Mon Sep 17 00:00:00 2001 From: JellyApple102 Date: Thu, 23 Sep 2021 17:56:46 -0400 Subject: [PATCH] update README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) 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.