feat(parsers): add scheme parser

This commit is contained in:
Steven Sojka 2020-07-28 07:39:45 -05:00 committed by Steven Sojka
parent b8e3a2dc65
commit aaa24cc47a
4 changed files with 17 additions and 0 deletions

View file

@ -296,6 +296,7 @@ List of currently supported languages:
- [ ] jsdoc - [ ] jsdoc
- [x] dart (maintained by @Akin909) - [x] dart (maintained by @Akin909)
- [x] rst (maintained by @stsewd) - [x] rst (maintained by @stsewd)
- [x] tree-sitter query language (maintained by @steelsojka)
## User Query Extensions ## User Query Extensions

View file

@ -236,6 +236,13 @@ list.jsdoc = {
} }
} }
list.scheme = {
install_info = {
url = "https://github.com/nvim-treesitter/tree-sitter-scheme",
files = { "src/parser.c" }
}
}
local M = { local M = {
list = list list = list
} }

View file

@ -0,0 +1,8 @@
(string) @string
(capture) @type
(anonymous_node) @string
(named_node
name: (identifier) @variable
(field_definition
name: (identifier) @property))
(comment) @comment

View file

@ -0,0 +1 @@
(identifier) @reference