mirror of
https://github.com/pnx/dotfiles
synced 2026-08-25 20:38:15 +02:00
new nvim config
This commit is contained in:
parent
4b730d3924
commit
7388c9bfd3
78 changed files with 1291 additions and 43 deletions
6
nvim-old/queries/blade/highlights.scm
Normal file
6
nvim-old/queries/blade/highlights.scm
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
(comment) @comment
|
||||
((parameter) @string (#set! "priority" 110))
|
||||
((php_only) @include (#set! "priority" 110))
|
||||
((bracket_start) @function (#set! "priority" 120))
|
||||
((bracket_end) @function (#set! "priority" 120))
|
||||
((keyword) @keyword (#set! "priority" 110))
|
||||
15
nvim-old/queries/blade/injections.scm
Normal file
15
nvim-old/queries/blade/injections.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
((text) @injection.content
|
||||
(#not-has-ancestor? @injection.content "envoy")
|
||||
(#set! injection.combined)
|
||||
(#set! injection.language php))
|
||||
|
||||
; could be bash or zsh
|
||||
; or whatever tree-sitter grammar you have.
|
||||
((text) @injection.content
|
||||
(#has-ancestor? @injection.content "envoy")
|
||||
(#set! injection.combined)
|
||||
(#set! injection.language bash))
|
||||
|
||||
|
||||
((php_only) @injection.content (#set! injection.language php))
|
||||
((parameter) @injection.content (#set! injection.language php))
|
||||
Loading…
Add table
Add a link
Reference in a new issue