1
0
Fork 0
mirror of https://github.com/Reuh/language-candran.git synced 2025-10-27 20:29:31 +00:00

Fix highlighting for indented multiline comments

Multiline comments of the form --[=[ ]=] (one or more '=' characters)
were highlighted only if the start of the comment was not indented.

One of the patterns was missing '=*', but it should be fixed now.
This commit is contained in:
Sami Kankaristo 2015-05-18 16:31:34 +03:00
parent 773b77a97d
commit 80942eb872

View file

@ -113,7 +113,7 @@
'name': 'comment.block.lua'
}
{
'begin': '(^[ \\t]+)?(?=--(?!\\[\\[))'
'begin': '(^[ \\t]+)?(?=--(?!\\[(=*)\\[))'
'beginCaptures':
'1':
'name': 'punctuation.whitespace.comment.leading.lua'