CMake: fix comment highlight
This commit is contained in:
parent
30c05e83f8
commit
2f1cb11194
|
@ -25,6 +25,7 @@ add-highlighter shared/cmake/argument region -recurse '\(' '\w+\h*\(\K' '(?=\))'
|
||||||
add-highlighter shared/cmake/code/ regex '\w+\h*(?=\()' 0:meta
|
add-highlighter shared/cmake/code/ regex '\w+\h*(?=\()' 0:meta
|
||||||
|
|
||||||
add-highlighter shared/cmake/argument/args default-region regex '\$\{\w+\}' 0:variable
|
add-highlighter shared/cmake/argument/args default-region regex '\$\{\w+\}' 0:variable
|
||||||
|
add-highlighter shared/cmake/argument/comment region '#' '$' fill comment
|
||||||
add-highlighter shared/cmake/argument/quoted region '"' '(?<!\\)(\\\\)*"' group
|
add-highlighter shared/cmake/argument/quoted region '"' '(?<!\\)(\\\\)*"' group
|
||||||
add-highlighter shared/cmake/argument/raw-quoted region -match-capture '\[(=*)\[' '\](=*)\]' ref cmake/argument/quoted
|
add-highlighter shared/cmake/argument/raw-quoted region -match-capture '\[(=*)\[' '\](=*)\]' ref cmake/argument/quoted
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user