mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
5
runtime/queries/chatito/folds.scm
Normal file
5
runtime/queries/chatito/folds.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
(intent_def)
|
||||
(slot_def)
|
||||
(alias_def)
|
||||
] @fold
|
||||
54
runtime/queries/chatito/highlights.scm
Normal file
54
runtime/queries/chatito/highlights.scm
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
; Punctuation
|
||||
[
|
||||
"%["
|
||||
"@["
|
||||
"~["
|
||||
"*["
|
||||
"]"
|
||||
"("
|
||||
")"
|
||||
] @punctuation.bracket
|
||||
|
||||
"," @punctuation.delimiter
|
||||
|
||||
(eq) @operator
|
||||
|
||||
([
|
||||
"\""
|
||||
"'"
|
||||
] @punctuation.special
|
||||
(#set! conceal ""))
|
||||
|
||||
[
|
||||
"%"
|
||||
"?"
|
||||
"#"
|
||||
] @character.special
|
||||
|
||||
; Entities
|
||||
(intent) @module
|
||||
|
||||
(slot) @type
|
||||
|
||||
(variation) @attribute
|
||||
|
||||
(alias) @keyword.directive
|
||||
|
||||
(number) @number
|
||||
|
||||
(argument
|
||||
key: (string) @property
|
||||
value: (string) @string)
|
||||
|
||||
(escape) @string.escape
|
||||
|
||||
; Import
|
||||
"import" @keyword.import
|
||||
|
||||
(file) @string.special.path
|
||||
|
||||
; Text
|
||||
(word) @spell
|
||||
|
||||
; Comment
|
||||
(comment) @comment @spell
|
||||
8
runtime/queries/chatito/indents.scm
Normal file
8
runtime/queries/chatito/indents.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[
|
||||
(intent_def)
|
||||
(slot_def)
|
||||
(alias_def)
|
||||
] @indent.begin
|
||||
|
||||
(ERROR
|
||||
"]") @indent.begin
|
||||
2
runtime/queries/chatito/injections.scm
Normal file
2
runtime/queries/chatito/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
16
runtime/queries/chatito/locals.scm
Normal file
16
runtime/queries/chatito/locals.scm
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
; Definitions
|
||||
(intent_def
|
||||
(intent) @local.definition)
|
||||
|
||||
(slot_def
|
||||
(slot) @local.definition)
|
||||
|
||||
(alias_def
|
||||
(alias) @local.definition)
|
||||
|
||||
; References
|
||||
(slot_ref
|
||||
(slot) @local.reference)
|
||||
|
||||
(alias_ref
|
||||
(alias) @local.reference)
|
||||
Loading…
Add table
Add a link
Reference in a new issue