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
14
runtime/queries/blade/folds.scm
Normal file
14
runtime/queries/blade/folds.scm
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
(authorization)
|
||||
(conditional)
|
||||
(envoy)
|
||||
(fragment)
|
||||
(livewire)
|
||||
(loop)
|
||||
(once)
|
||||
(php_statement)
|
||||
(section)
|
||||
(stack)
|
||||
(switch)
|
||||
(verbatim)
|
||||
] @fold
|
||||
15
runtime/queries/blade/highlights.scm
Normal file
15
runtime/queries/blade/highlights.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
([
|
||||
(directive)
|
||||
(directive_start)
|
||||
(directive_end)
|
||||
] @tag
|
||||
(#set! priority 101))
|
||||
|
||||
([
|
||||
(bracket_start)
|
||||
(bracket_end)
|
||||
] @tag.delimiter
|
||||
(#set! priority 101))
|
||||
|
||||
((comment) @comment @spell
|
||||
(#set! priority 101))
|
||||
3
runtime/queries/blade/indents.scm
Normal file
3
runtime/queries/blade/indents.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(directive_start) @indent.begin
|
||||
|
||||
(directive_end) @indent.end
|
||||
15
runtime/queries/blade/injections.scm
Normal file
15
runtime/queries/blade/injections.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
((text) @injection.content
|
||||
(#set! injection.combined)
|
||||
(#set! injection.language html))
|
||||
|
||||
((text) @injection.content
|
||||
(#has-ancestor? @injection.content "envoy")
|
||||
(#set! injection.combined)
|
||||
(#set! injection.language bash))
|
||||
|
||||
((php_only) @injection.content
|
||||
(#set! injection.combined)
|
||||
(#set! injection.language php_only))
|
||||
|
||||
((parameter) @injection.content
|
||||
(#set! injection.language php_only))
|
||||
Loading…
Add table
Add a link
Reference in a new issue