We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40a78f commit 33d97afCopy full SHA for 33d97af
lib_src/misc/blocks.ts
@@ -33,8 +33,8 @@ function isEnd(lineInfo: LineInfo) {
33
}
34
return /^(end\b|\)|\]|\})/.test(lineInfo.line)
35
36
-function isStringEnd({ line, scope }) {
37
- scope = scope.join(" ")
+function isStringEnd(lineInfo: LineInfo) {
+ const scope = lineInfo.scope.join(" ")
38
return /\bstring\.multiline\.end\b/.test(scope) || (/\bstring\.end\b/.test(scope) && /\bbacktick\b/.test(scope))
39
40
function isCont({ line, scope }) {
0 commit comments