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/toml/folds.scm
Normal file
5
runtime/queries/toml/folds.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
(table)
|
||||
(array)
|
||||
(table_array_element)
|
||||
] @fold
|
||||
39
runtime/queries/toml/highlights.scm
Normal file
39
runtime/queries/toml/highlights.scm
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
(bare_key) @property
|
||||
|
||||
[
|
||||
(string)
|
||||
(quoted_key)
|
||||
] @string
|
||||
|
||||
(boolean) @boolean
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
(integer) @number
|
||||
|
||||
(float) @number.float
|
||||
|
||||
[
|
||||
(local_date)
|
||||
(local_date_time)
|
||||
(local_time)
|
||||
(offset_date_time)
|
||||
] @string.special
|
||||
|
||||
"=" @operator
|
||||
|
||||
[
|
||||
"."
|
||||
","
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"[["
|
||||
"]]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
11
runtime/queries/toml/indents.scm
Normal file
11
runtime/queries/toml/indents.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
(array)
|
||||
(inline_table)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @indent.branch
|
||||
2
runtime/queries/toml/injections.scm
Normal file
2
runtime/queries/toml/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
4
runtime/queries/toml/locals.scm
Normal file
4
runtime/queries/toml/locals.scm
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[
|
||||
(table)
|
||||
(table_array_element)
|
||||
] @local.scope
|
||||
Loading…
Add table
Add a link
Reference in a new issue