summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-30 17:27:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-30 17:27:06 +0800
commita555b92349e2ab07b9111a296618a69caa068032 (patch)
tree8dc78b79026687c7d43682fdf2cb51510ebe09ab /script/provider
parentd726459e81cfb9081da4f29eb8d25d73b0fda759 (diff)
downloadlua-language-server-a555b92349e2ab07b9111a296618a69caa068032.zip
fix
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/provider.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 23dd6e11..6b7a56b5 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -252,7 +252,7 @@ m.register 'textDocument/hover' {
abortByFileUpdate = true,
---@async
function (params)
- if not config.get('Lua.hover.enable') then
+ if not config.get(nil, 'Lua.hover.enable') then
return
end
local doc = params.textDocument