[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 Stephan Seitz
parent 2540831e20
commit 5a8b5ab019

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