Regenerate nvim config
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
[
|
||||
(table)
|
||||
(array)
|
||||
(table_array_element)
|
||||
] @fold
|
||||
@ -0,0 +1,54 @@
|
||||
; Properties
|
||||
;-----------
|
||||
(bare_key) @type
|
||||
|
||||
(quoted_key) @string
|
||||
|
||||
(pair
|
||||
(bare_key)) @property
|
||||
|
||||
(pair
|
||||
(dotted_key
|
||||
(bare_key) @property))
|
||||
|
||||
; Literals
|
||||
;---------
|
||||
(boolean) @boolean
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
(string) @string
|
||||
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
(integer) @number
|
||||
|
||||
(float) @number.float
|
||||
|
||||
(offset_date_time) @string.special
|
||||
|
||||
(local_date_time) @string.special
|
||||
|
||||
(local_date) @string.special
|
||||
|
||||
(local_time) @string.special
|
||||
|
||||
; Punctuation
|
||||
;------------
|
||||
"." @punctuation.delimiter
|
||||
|
||||
"," @punctuation.delimiter
|
||||
|
||||
"=" @operator
|
||||
|
||||
"[" @punctuation.bracket
|
||||
|
||||
"]" @punctuation.bracket
|
||||
|
||||
"[[" @punctuation.bracket
|
||||
|
||||
"]]" @punctuation.bracket
|
||||
|
||||
"{" @punctuation.bracket
|
||||
|
||||
"}" @punctuation.bracket
|
||||
11
config/neovim/store/nvim-treesitter/queries/toml/indents.scm
Normal file
11
config/neovim/store/nvim-treesitter/queries/toml/indents.scm
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
(array)
|
||||
(inline_table)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @indent.branch
|
||||
@ -0,0 +1,2 @@
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
@ -0,0 +1,4 @@
|
||||
[
|
||||
(table)
|
||||
(table_array_element)
|
||||
] @local.scope
|
||||
Reference in New Issue
Block a user