mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
(call_expression
|
||||
function: (member_expression
|
||||
object: (identifier) @variable
|
||||
object: (identifier) @variable
|
||||
property:(property_identifier) @function
|
||||
)
|
||||
)
|
||||
|
|
@ -119,7 +119,7 @@
|
|||
(predefined_type) @type.builtin
|
||||
|
||||
((identifier) @type
|
||||
(#match? @type "^[A-Z]"))
|
||||
(#match? @type "^[A-Z]"))
|
||||
|
||||
(type_arguments
|
||||
"<" @punctuation.bracket
|
||||
|
|
@ -148,3 +148,7 @@
|
|||
"override"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
(true)
|
||||
(false)
|
||||
] @boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue