c-family.kak: fix /**/ being interpreted as javadoc start

This commit is contained in:
Johannes Altmanninger 2020-07-26 20:44:24 +02:00
parent c2516f02f6
commit 6ca51882a1

View File

@ -198,7 +198,7 @@ evaluate-commands %sh{
add-highlighter shared/$ft/code default-region group
add-highlighter shared/$ft/string region %{$maybe_at(?<!')(?<!'\\\\)"} %{(?<!\\\\)(?:\\\\\\\\)*"} fill string
add-highlighter shared/$ft/raw_string region -match-capture %{R"([^(]*)\\(} %{\\)([^")]*)"} fill string
add-highlighter shared/$ft/javadoc region /\*\* \*/ fill documentation
add-highlighter shared/$ft/javadoc region /\*\*[^/] \*/ fill documentation
add-highlighter shared/$ft/qtdoc region /\*! \*/ fill documentation
add-highlighter shared/$ft/inline_doc region /// $ fill documentation
add-highlighter shared/$ft/inline_qtdoc region //! $ fill documentation