mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(kitty): Switched to #lua-match?
This commit is contained in:
parent
f04776d361
commit
8be7913629
1 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
; Color names & `none`.
|
||||
((color) @constant
|
||||
(#match? @constant "^[^#]"))
|
||||
(#lua-match? @constant "^[^#]"))
|
||||
|
||||
;
|
||||
(string) @string
|
||||
|
|
@ -120,7 +120,7 @@
|
|||
; Command flags(`--flag`) should be highlighted *differently*.
|
||||
(kitten_arguments
|
||||
(string) @variable.parameter
|
||||
(#match? @variable.parameter "^-"))
|
||||
(#lua-match? @variable.parameter "^-"))
|
||||
|
||||
; Launch ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
(launch
|
||||
|
|
@ -415,7 +415,7 @@
|
|||
; Only color known option values
|
||||
(layout_option
|
||||
name: (string) @variable.parameter
|
||||
(#match? @variable.parameter "^(bias|full_size|mirrored|split_axis)$")
|
||||
(#lua-match? @variable.parameter "^(bias|full_size|mirrored|split_axis)$")
|
||||
"=" @punctuation.delimiter)
|
||||
|
||||
; Strings are mostly pre-defined keywords.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue