mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
38
runtime/queries/xcompose/highlights.scm
Normal file
38
runtime/queries/xcompose/highlights.scm
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
(keysym) @constant
|
||||
|
||||
((keysym) @constant.builtin
|
||||
(#eq? @constant.builtin "Multi_key"))
|
||||
|
||||
(text) @string
|
||||
|
||||
"include" @keyword.import
|
||||
|
||||
[
|
||||
(octal)
|
||||
(hex)
|
||||
] @number
|
||||
|
||||
[
|
||||
(modifier)
|
||||
"None"
|
||||
] @keyword.modifier
|
||||
|
||||
[
|
||||
"%L"
|
||||
"%H"
|
||||
"%S"
|
||||
] @string.special
|
||||
|
||||
[
|
||||
"!"
|
||||
"~"
|
||||
] @operator
|
||||
|
||||
[
|
||||
":"
|
||||
"<"
|
||||
">"
|
||||
"\""
|
||||
] @punctuation.delimiter
|
||||
|
||||
(comment) @comment @spell
|
||||
2
runtime/queries/xcompose/injections.scm
Normal file
2
runtime/queries/xcompose/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
5
runtime/queries/xcompose/locals.scm
Normal file
5
runtime/queries/xcompose/locals.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
(result
|
||||
(keysym) @local.definition)
|
||||
|
||||
(event
|
||||
(keysym) @local.reference)
|
||||
Loading…
Add table
Add a link
Reference in a new issue