mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
feat: add tree-sitter-sxhkdrc
This commit is contained in:
parent
ed89f08a49
commit
ddcda04301
2 changed files with 22 additions and 0 deletions
|
|
@ -1176,6 +1176,18 @@ list.tiger = {
|
||||||
maintainers = { "@ambroisie" },
|
maintainers = { "@ambroisie" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
list.sxhkdrc = {
|
||||||
|
install_info = {
|
||||||
|
url = "~/sectors/treesitter/tree-sitter-sxhkdrc",
|
||||||
|
files = {"src/parser.c"},
|
||||||
|
branch = "master",
|
||||||
|
generate_requires_npm = false,
|
||||||
|
requires_generate_from_grammar = false,
|
||||||
|
filetype = "sxhkdrc",
|
||||||
|
maintainers = { "@RaafatTurki" },
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
list.gitignore = {
|
list.gitignore = {
|
||||||
install_info = {
|
install_info = {
|
||||||
url = "https://github.com/shunsambongi/tree-sitter-gitignore",
|
url = "https://github.com/shunsambongi/tree-sitter-gitignore",
|
||||||
|
|
|
||||||
10
queries/sxhkdrc/highlights.scm
Normal file
10
queries/sxhkdrc/highlights.scm
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
(modifier) @keyword
|
||||||
|
(operator) @operator
|
||||||
|
(attribute) @type
|
||||||
|
(command_sync_prefix) @type
|
||||||
|
(punctuation) @punctuation.bracket
|
||||||
|
(delimiter) @punctuation.delimiter
|
||||||
|
(keysym) @variable
|
||||||
|
(comment) @comment
|
||||||
|
(range) @number
|
||||||
|
"\\\n" @punctuation.special
|
||||||
Loading…
Add table
Add a link
Reference in a new issue