Tencent / LuaHelper

LuaHelper is a High-performance lua VSCode plugin, Language Server Protocol for lua.
Other
588 stars 91 forks source link

无法正确识别多层注释 #166

Closed UnsterblichW closed 1 year ago

UnsterblichW commented 1 year ago

image 我的本意是将 106行 至 125行 都注释掉,但仅仅置灰了一小部分的代码。

lalawue commented 1 year ago

106 匹配到了 117 行,类似下面这样,输出是 nil

--[[
--[[
a = 12
--]]
print(a)
--]]