mirror of
https://github.com/Reuh/language-candran.git
synced 2025-10-27 12:19:30 +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:
parent
773b77a97d
commit
80942eb872
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@
|
||||||
'name': 'comment.block.lua'
|
'name': 'comment.block.lua'
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
'begin': '(^[ \\t]+)?(?=--(?!\\[\\[))'
|
'begin': '(^[ \\t]+)?(?=--(?!\\[(=*)\\[))'
|
||||||
'beginCaptures':
|
'beginCaptures':
|
||||||
'1':
|
'1':
|
||||||
'name': 'punctuation.whitespace.comment.leading.lua'
|
'name': 'punctuation.whitespace.comment.leading.lua'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue