summaryrefslogtreecommitdiff
path: root/script/core/hint.lua
diff options
context:
space:
mode:
authorRoffild <roffild@hotmail.com>2021-12-04 12:31:47 +0300
committerGitHub <noreply@github.com>2021-12-04 12:31:47 +0300
commit00e79ffba644e3a0e1ffa335851f396f5832428c (patch)
tree77c068f71be5bb174abe78cd3de5281e427e715d /script/core/hint.lua
parentcb2042160865589b5534a6bf0b6c366ae4ab1d99 (diff)
downloadlua-language-server-00e79ffba644e3a0e1ffa335851f396f5832428c.zip
Fix Lua › Hint: Param Name == Disable
Diffstat (limited to 'script/core/hint.lua')
-rw-r--r--script/core/hint.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hint.lua b/script/core/hint.lua
index 42390443..06bbf421 100644
--- a/script/core/hint.lua
+++ b/script/core/hint.lua
@@ -100,7 +100,7 @@ end
---@async
local function paramName(uri, results, start, finish)
local paramConfig = config.get 'Lua.hint.paramName'
- if not paramConfig or paramConfig == 'None' then
+ if not paramConfig or paramConfig == 'Disable' then
return
end
local state = files.getState(uri)