mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Formatting applied; restored conditional brackets
This commit is contained in:
parent
89ab46c338
commit
0dbbefd1bc
3 changed files with 11 additions and 7 deletions
|
|
@ -5,5 +5,7 @@
|
|||
] @fold
|
||||
|
||||
(import_legacy)+ @fold
|
||||
|
||||
(import)+ @fold
|
||||
|
||||
(comment)+ @fold
|
||||
|
|
|
|||
|
|
@ -73,9 +73,11 @@
|
|||
(symfony_ternary_operator) @keyword.conditional.ternary
|
||||
|
||||
((symfony_condition_operator) @keyword.operator
|
||||
(#any-of? @keyword.operator "and" "or" "xor" "not" "not in" "in" "contains" "starts with" "ends with" "matches"))
|
||||
(#any-of? @keyword.operator
|
||||
"and" "or" "xor" "not" "not in" "in" "contains" "starts with" "ends with" "matches"))
|
||||
|
||||
"," @punctuation.delimiter
|
||||
|
||||
"." @punctuation.delimiter
|
||||
|
||||
[
|
||||
|
|
@ -86,11 +88,11 @@
|
|||
(block_punctuation)
|
||||
] @punctuation.bracket
|
||||
|
||||
; (condition
|
||||
; "[" @keyword.conditional)
|
||||
;
|
||||
; (condition
|
||||
; "]" @keyword.conditional)
|
||||
(condition
|
||||
"[" @keyword.conditional)
|
||||
|
||||
(condition
|
||||
"]" @keyword.conditional)
|
||||
|
||||
(symfony_number) @number
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
(multiline_value_content) @injection.content))
|
||||
(#lua-match? @_id "_CSS_DEFAULT_STYLE$")
|
||||
(#set! injection.language "css"))
|
||||
; (#set! injection.overlay "constant"))
|
||||
|
||||
; (#set! injection.overlay "constant"))
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue