mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -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
7
runtime/queries/gaptst/folds.scm
Normal file
7
runtime/queries/gaptst/folds.scm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[
|
||||
(if_statement)
|
||||
(else_clause)
|
||||
(local_statement)
|
||||
(exec_statement)
|
||||
(test_case)
|
||||
] @fold
|
||||
19
runtime/queries/gaptst/highlights.scm
Normal file
19
runtime/queries/gaptst/highlights.scm
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
(output_line) @markup.raw.block
|
||||
|
||||
[
|
||||
"#@local"
|
||||
"#@exec"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"gap> "
|
||||
"> "
|
||||
] @keyword.debug
|
||||
|
||||
[
|
||||
"#@if"
|
||||
"#@else"
|
||||
"#@fi"
|
||||
] @keyword.conditional
|
||||
|
||||
(comment) @comment @spell
|
||||
9
runtime/queries/gaptst/injections.scm
Normal file
9
runtime/queries/gaptst/injections.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((gap_expression) @injection.content
|
||||
(#set! injection.language "gap"))
|
||||
|
||||
((input_line) @injection.content
|
||||
(#set! injection.language "gap")
|
||||
(#set! injection.combined))
|
||||
Loading…
Add table
Add a link
Reference in a new issue