Java: add highlighting for char literal

This commit is contained in:
Yerlan 2021-05-17 21:15:30 +02:00 committed by GitHub
parent c483d65594
commit 0dcbf52216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ provide-module java %§
add-highlighter shared/java regions add-highlighter shared/java regions
add-highlighter shared/java/code default-region group add-highlighter shared/java/code default-region group
add-highlighter shared/java/string region %{(?<!')"} %{(?<!\\)(\\\\)*"} fill string add-highlighter shared/java/string region %{(?<!')"} %{(?<!\\)(\\\\)*"} fill string
add-highlighter shared/java/character region %{'} %{(?<!\\)'} fill value
add-highlighter shared/java/comment region /\* \*/ fill comment add-highlighter shared/java/comment region /\* \*/ fill comment
add-highlighter shared/java/inline_documentation region /// $ fill documentation add-highlighter shared/java/inline_documentation region /// $ fill documentation
add-highlighter shared/java/line_comment region // $ fill comment add-highlighter shared/java/line_comment region // $ fill comment