Fixed Lua block comment highlighting
Block comments in Lua were broken, apparently due to the opening sequence being interpreted as a line comment. Changing the order in the highlighter seems to fix this issue.
This commit is contained in:
parent
1df11616a8
commit
128e0f53ff
|
@ -14,8 +14,8 @@ hook global BufCreate .*[.](lua) %{
|
|||
add-highlighter shared/ regions -default code lua \
|
||||
string '"' (?<!\\)(\\\\)*" '' \
|
||||
string "'" (?<!\\)(\\\\)*' '' \
|
||||
comment '--' '$' '' \
|
||||
comment '--\[\[' '\]\]' '' \
|
||||
comment '--' '$' '' \
|
||||
|
||||
add-highlighter shared/lua/string fill string
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user