diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-15 21:06:07 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-15 21:06:07 +0800 |
commit | 6fd670b15c9403e92ab9a803f8fa885fe3d9bee2 (patch) | |
tree | ae9f0559a6acee9aa1df64f6090f14726bde77c1 /script/core | |
parent | 241c518d2e02f2b65c59460d0bb8d4101d98614a (diff) | |
download | lua-language-server-6fd670b15c9403e92ab9a803f8fa885fe3d9bee2.zip |
cleanup
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/completion/completion.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua index 9e8ad03e..1ddd9890 100644 --- a/script/core/completion/completion.lua +++ b/script/core/completion/completion.lua @@ -1099,7 +1099,7 @@ local function tryLabelInString(label, source) if not source or source.type ~= 'string' then return label end - local state = parser.parse(label, 'String') + local state = parser.compile(label, 'String') if not state or not state.ast then return label end |