mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40: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 names & `none`.
|
||||||
((color) @constant
|
((color) @constant
|
||||||
(#match? @constant "^[^#]"))
|
(#lua-match? @constant "^[^#]"))
|
||||||
|
|
||||||
;
|
;
|
||||||
(string) @string
|
(string) @string
|
||||||
|
|
@ -120,7 +120,7 @@
|
||||||
; Command flags(`--flag`) should be highlighted *differently*.
|
; Command flags(`--flag`) should be highlighted *differently*.
|
||||||
(kitten_arguments
|
(kitten_arguments
|
||||||
(string) @variable.parameter
|
(string) @variable.parameter
|
||||||
(#match? @variable.parameter "^-"))
|
(#lua-match? @variable.parameter "^-"))
|
||||||
|
|
||||||
; Launch ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
; Launch ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
(launch
|
(launch
|
||||||
|
|
@ -415,7 +415,7 @@
|
||||||
; Only color known option values
|
; Only color known option values
|
||||||
(layout_option
|
(layout_option
|
||||||
name: (string) @variable.parameter
|
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)
|
"=" @punctuation.delimiter)
|
||||||
|
|
||||||
; Strings are mostly pre-defined keywords.
|
; Strings are mostly pre-defined keywords.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue