You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above config should have no syntax issue, however, lua_ls recognize end in ctx.range.end as a Lua keyword which terminates the function, and it reported an error on this "<field> expected".
even if I change it to ctx.range.["end"], it still reported "<field> expected". after I removed ctx.range.end, no errors were reported.
The text was updated successfully, but these errors were encountered:
Information
Sample config
Issue description
Above config should have no syntax issue, however,
lua_ls
recognizeend
inctx.range.end
as a Lua keyword which terminates the function, and it reported an error on this"<field> expected"
.even if I change it to
ctx.range.["end"]
, it still reported"<field> expected"
. after I removedctx.range.end
, no errors were reported.The text was updated successfully, but these errors were encountered: