[cmake] Add highlighting for boolean values (#1801)

Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
This commit is contained in:
Uy Ha 2021-09-10 18:42:23 +02:00 committed by GitHub
parent e31bba5d97
commit 25956f4274
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,6 +64,10 @@
(#match? @function.builtin "\\c^(set)$")
)
((argument) @boolean
(#match? @boolean "\\c^(1|on|yes|true|y|0|off|no|false|n|ignore|notfound|.*-notfound)$")
)
(if_command
(if)
(argument) @keyword.operator