Merge remote-tracking branch 'jacobdufault/lua-better-strings'

This commit is contained in:
Maxime Coste 2018-02-15 23:35:01 +11:00
commit f5e39972eb

View File

@ -11,11 +11,12 @@ hook global BufCreate .*[.](lua) %{
# Highlighters
# ‾‾‾‾‾‾‾‾‾‾‾‾
add-highlighter shared/ regions -default code lua \
string '"' (?<!\\)(\\\\)*" '' \
string "'" (?<!\\)(\\\\)*' '' \
comment '--\[\[' '\]\]' '' \
comment '--' '$' '' \
add-highlighter shared/ regions -default code -match-capture lua \
string '"' (?<!\\)(\\\\)*" '' \
string "'" (?<!\\)(\\\\)*' '' \
string '\[(=*)\[' '\](=*)\]' '' \
comment '--\[(=*)\[' '\](=*)\]' '' \
comment '--' '$' '' \
add-highlighter shared/lua/string fill string