mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
feat(qmljs): boolean
boolean is not in the right color, so fix it Log: fix the color of boolean for qmljs
This commit is contained in:
parent
c398cbc8f5
commit
73cd1f189b
1 changed files with 6 additions and 2 deletions
|
|
@ -72,7 +72,7 @@
|
||||||
;;; function
|
;;; function
|
||||||
(call_expression
|
(call_expression
|
||||||
function: (member_expression
|
function: (member_expression
|
||||||
object: (identifier) @variable
|
object: (identifier) @variable
|
||||||
property:(property_identifier) @function
|
property:(property_identifier) @function
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
@ -119,7 +119,7 @@
|
||||||
(predefined_type) @type.builtin
|
(predefined_type) @type.builtin
|
||||||
|
|
||||||
((identifier) @type
|
((identifier) @type
|
||||||
(#match? @type "^[A-Z]"))
|
(#match? @type "^[A-Z]"))
|
||||||
|
|
||||||
(type_arguments
|
(type_arguments
|
||||||
"<" @punctuation.bracket
|
"<" @punctuation.bracket
|
||||||
|
|
@ -148,3 +148,7 @@
|
||||||
"override"
|
"override"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
|
[
|
||||||
|
(true)
|
||||||
|
(false)
|
||||||
|
] @boolean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue