mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-28 06:08:05 +03:00
Simplifying regex
As suggested by @krobelus. However, I figured that highlighting characters as strings is not correct as they are more like values.
This commit is contained in:
parent
c7f7e01bba
commit
c483d65594
@ -56,7 +56,7 @@ provide-module kotlin %§
|
|||||||
add-highlighter shared/kotlin regions
|
add-highlighter shared/kotlin regions
|
||||||
add-highlighter shared/kotlin/code default-region group
|
add-highlighter shared/kotlin/code default-region group
|
||||||
add-highlighter shared/kotlin/string region %{(?<!')"} %{(?<!\\)(\\\\)*"} group
|
add-highlighter shared/kotlin/string region %{(?<!')"} %{(?<!\\)(\\\\)*"} group
|
||||||
add-highlighter shared/kotlin/character region %{(?<!")'} %{(?<!\\)(\\\\)*'} fill value
|
add-highlighter shared/kotlin/character region %{'} %{(?<!\\)'} fill value
|
||||||
add-highlighter shared/kotlin/comment region /\* \*/ fill comment
|
add-highlighter shared/kotlin/comment region /\* \*/ fill comment
|
||||||
add-highlighter shared/kotlin/inline_documentation region /// $ fill documentation
|
add-highlighter shared/kotlin/inline_documentation region /// $ fill documentation
|
||||||
add-highlighter shared/kotlin/line_comment region // $ fill comment
|
add-highlighter shared/kotlin/line_comment region // $ fill comment
|
||||||
|
Loading…
Reference in New Issue
Block a user