mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(parsers): add scheme parser
This commit is contained in:
parent
b8e3a2dc65
commit
aaa24cc47a
4 changed files with 17 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
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