mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
Merge pull request #237 from steelsojka/master
feat(parsers): add scheme parser
This commit is contained in:
commit
875a1a0165
4 changed files with 17 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
8
queries/scheme/highlights.scm
Normal file
8
queries/scheme/highlights.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
(string) @string
|
||||||
|
(capture) @type
|
||||||
|
(anonymous_node) @string
|
||||||
|
(named_node
|
||||||
|
name: (identifier) @variable
|
||||||
|
(field_definition
|
||||||
|
name: (identifier) @property))
|
||||||
|
(comment) @comment
|
||||||
1
queries/scheme/locals.scm
Normal file
1
queries/scheme/locals.scm
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
(identifier) @reference
|
||||||
Loading…
Add table
Add a link
Reference in a new issue