mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
[cmake] Add highlighting for boolean values (#1801)
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
This commit is contained in:
parent
2540831e20
commit
5a8b5ab019
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue