summaryrefslogtreecommitdiff
path: root/script/core/hint.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/hint.lua')
-rw-r--r--script/core/hint.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/core/hint.lua b/script/core/hint.lua
index 67c725f7..857ae510 100644
--- a/script/core/hint.lua
+++ b/script/core/hint.lua
@@ -29,11 +29,11 @@ local function typeHint(uri, edits, start, finish)
return
end
if source.parent.type == 'funcargs' then
- if not config.config.hint.paramType then
+ if not config.Lua.hint.paramType then
return
end
else
- if not config.config.hint.setType then
+ if not config.Lua.hint.setType then
return
end
end
@@ -96,7 +96,7 @@ local function hasLiteralArgInCall(call)
end
local function paramName(uri, edits, start, finish)
- if not config.config.hint.paramName then
+ if not config.Lua.hint.paramName then
return
end
local ast = files.getState(uri)