macros always end at the start of a line comment
This commit is contained in:
parent
e32d5ec88e
commit
4bb87ef430
|
@ -145,7 +145,7 @@ evaluate-commands %sh{
|
|||
add-highlighter shared/FT/comment region /\* \*/ fill comment
|
||||
add-highlighter shared/FT/line_comment region // (?<!\\)(?=\n) fill comment
|
||||
add-highlighter shared/FT/disabled region -recurse "#\h*if(?:def)?" ^\h*?#\h*if\h+(?:0|FALSE)\b "#\h*(?:else|elif|endif)" fill rgb:666666
|
||||
add-highlighter shared/FT/macro region %{^\h*?\K#} %{(?<!\\)(?=\n)} group
|
||||
add-highlighter shared/FT/macro region %{^\h*?\K#} %{(?<!\\)(?=\n)|(?=//)} group
|
||||
|
||||
add-highlighter shared/FT/macro/ fill meta
|
||||
add-highlighter shared/FT/macro/ regex ^\h*#include\h+(\S*) 1:module
|
||||
|
|
Loading…
Reference in New Issue
Block a user