fix: improve regex for build region

This commit is contained in:
antab 2020-09-22 13:49:11 +02:00
parent d0ee3dfe94
commit 737134b993

View File

@ -52,7 +52,7 @@ add-highlighter shared/ninja/command/linebreak regex '\$$' 0:operator
add-highlighter shared/ninja/command/variables regex '\$\w+|\$\{\w+\}' 0:value add-highlighter shared/ninja/command/variables regex '\$\w+|\$\{\w+\}' 0:value
# `build` # `build`
add-highlighter shared/ninja/build region '^build ' '\n' group add-highlighter shared/ninja/build region '^build\b' '\n' group
add-highlighter shared/ninja/build/build regex '^build' 0:keyword add-highlighter shared/ninja/build/build regex '^build' 0:keyword
add-highlighter shared/ninja/build/rule regex ':\h+(\w+)' 0:function add-highlighter shared/ninja/build/rule regex ':\h+(\w+)' 0:function
add-highlighter shared/ninja/build/colonpipe regex ':|\||\|\|' 0:operator add-highlighter shared/ninja/build/colonpipe regex ':|\||\|\|' 0:operator