Merge pull request #237 from steelsojka/master

feat(parsers): add scheme parser
This commit is contained in:
Steven Sojka 2020-07-28 08:46:17 -05:00 committed by GitHub
commit 875a1a0165
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 0 deletions

View file

@ -296,6 +296,7 @@ List of currently supported languages:
- [ ] jsdoc
- [x] dart (maintained by @Akin909)
- [x] rst (maintained by @stsewd)
- [x] tree-sitter query language (maintained by @steelsojka)
## 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 = {
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