mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -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/textproto/folds.scm
Normal file
5
runtime/queries/textproto/folds.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
(message_value)
|
||||
(scalar_list)
|
||||
(message_list)
|
||||
] @fold
|
||||
23
runtime/queries/textproto/highlights.scm
Normal file
23
runtime/queries/textproto/highlights.scm
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
(string) @string
|
||||
|
||||
(field_name) @variable.member
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
(number) @number
|
||||
|
||||
; For stuff like "inf" and "-inf".
|
||||
(scalar_value
|
||||
[
|
||||
(identifier)
|
||||
(signed_identifier)
|
||||
]) @number
|
||||
|
||||
[
|
||||
(open_squiggly)
|
||||
(close_squiggly)
|
||||
(open_square)
|
||||
(close_square)
|
||||
(open_arrow)
|
||||
(close_arrow)
|
||||
] @punctuation.bracket
|
||||
14
runtime/queries/textproto/indents.scm
Normal file
14
runtime/queries/textproto/indents.scm
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
(message_value) @indent.begin
|
||||
|
||||
(message_value
|
||||
(close_squiggly) @indent.branch)
|
||||
|
||||
(scalar_list) @indent.begin
|
||||
|
||||
(scalar_list
|
||||
(close_square) @indent.branch)
|
||||
|
||||
(message_list) @indent.begin
|
||||
|
||||
(message_list
|
||||
(close_square) @indent.branch)
|
||||
2
runtime/queries/textproto/injections.scm
Normal file
2
runtime/queries/textproto/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue