diff --git a/rc/base/lua.kak b/rc/base/lua.kak index ac35052b..8b69009f 100644 --- a/rc/base/lua.kak +++ b/rc/base/lua.kak @@ -13,11 +13,11 @@ hook global BufCreate .*[.](lua) %{ add-highlighter shared/lua regions add-highlighter shared/lua/code default-region group +add-highlighter shared/lua/raw_string region -match-capture '\[(=*)\[' '\](=*)\]' fill string +add-highlighter shared/lua/raw_comment region -match-capture '--\[(=*)\[' '\](=*)\]' fill comment add-highlighter shared/lua/double_string region '"' (?