From 80942eb8729d56a139f20ebfc63b532d49f161da Mon Sep 17 00:00:00 2001 From: Sami Kankaristo Date: Mon, 18 May 2015 16:31:34 +0300 Subject: [PATCH] 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. --- grammars/lua.cson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammars/lua.cson b/grammars/lua.cson index 3d748fa..5ec71eb 100644 --- a/grammars/lua.cson +++ b/grammars/lua.cson @@ -113,7 +113,7 @@ 'name': 'comment.block.lua' } { - 'begin': '(^[ \\t]+)?(?=--(?!\\[\\[))' + 'begin': '(^[ \\t]+)?(?=--(?!\\[(=*)\\[))' 'beginCaptures': '1': 'name': 'punctuation.whitespace.comment.leading.lua'