Regenerate nvim config
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
[
|
||||
(meta_map)
|
||||
(map)
|
||||
(array)
|
||||
] @fold
|
||||
@ -0,0 +1,54 @@
|
||||
; Literals
|
||||
(string) @string
|
||||
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
(hex_blob
|
||||
"x" @character.special
|
||||
(_) @string)
|
||||
|
||||
(esc_blob
|
||||
"b" @character.special
|
||||
(_) @string)
|
||||
|
||||
(datetime
|
||||
"d" @character.special
|
||||
(_) @string.special)
|
||||
|
||||
(_
|
||||
key: (_) @property)
|
||||
|
||||
(number) @number
|
||||
|
||||
(float) @number.float
|
||||
|
||||
(boolean) @boolean
|
||||
|
||||
(null) @constant.builtin
|
||||
|
||||
; Punctuation
|
||||
[
|
||||
","
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
] @punctuation.bracket
|
||||
|
||||
("\"" @string
|
||||
(#set! conceal ""))
|
||||
|
||||
; Comments
|
||||
(comment) @comment @spell
|
||||
17
config/neovim/store/nvim-treesitter/queries/cpon/indents.scm
Normal file
17
config/neovim/store/nvim-treesitter/queries/cpon/indents.scm
Normal file
@ -0,0 +1,17 @@
|
||||
[
|
||||
(meta_map)
|
||||
(map)
|
||||
(imap)
|
||||
(array)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"]"
|
||||
"}"
|
||||
">"
|
||||
] @indent.end @indent.branch
|
||||
|
||||
[
|
||||
(ERROR)
|
||||
(comment)
|
||||
] @indent.auto
|
||||
@ -0,0 +1,2 @@
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
@ -0,0 +1,6 @@
|
||||
[
|
||||
(document)
|
||||
(meta_map)
|
||||
(map)
|
||||
(array)
|
||||
] @local.scope
|
||||
Reference in New Issue
Block a user