summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
Diffstat (limited to 'script/core')
-rw-r--r--script/core/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua
index fb7b2eb4..f81f8179 100644
--- a/script/core/completion.lua
+++ b/script/core/completion.lua
@@ -1049,7 +1049,7 @@ local function tryLabelInString(label, source)
if not source or source.type ~= 'string' then
return label
end
- local str = parser:grammar(label, 'String')
+ local str = parser.grammar(label, 'String')
if not str then
return label
end