Fix c-family include highlighting

This commit is contained in:
Maxime Coste 2019-11-05 17:35:44 +11:00
parent 6f3124d678
commit 44047a69c5

View File

@ -204,7 +204,7 @@ evaluate-commands %sh{
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
add-highlighter shared/$ft/macro/ regex ^\\h*#\\h*include\\h+(\\S*) 1:module
add-highlighter shared/$ft/macro/ regex /\\*.*?\\*/ 0:comment
EOF
done