mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-24 12:34:35 +02:00
add: blade treesitter config
This commit is contained in:
parent
b9949062dc
commit
fbc8a53840
19 changed files with 177 additions and 14 deletions
10
after/queries/php/indents.scm
Normal file
10
after/queries/php/indents.scm
Normal file
|
@ -0,0 +1,10 @@
|
|||
;; extends
|
||||
|
||||
[
|
||||
; prevent double indent for `return new class ...`
|
||||
(return_statement
|
||||
(object_creation_expression))
|
||||
; prevent double indent for `return function() { ... }`
|
||||
(return_statement
|
||||
(anonymous_function_creation_expression))
|
||||
] @indent.dedent
|
9
after/queries/php/injections.scm
Normal file
9
after/queries/php/injections.scm
Normal file
|
@ -0,0 +1,9 @@
|
|||
;; extends
|
||||
|
||||
; ((text) @injection.content
|
||||
; (#set! injection.language "html")
|
||||
; (#set! injection.combined))
|
||||
|
||||
; ((php) @injection.content
|
||||
; (#set! injection.language "php_only")
|
||||
; (#set! injection.combined))
|
Loading…
Add table
Add a link
Reference in a new issue