diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-12-30 14:37:38 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-12-30 14:37:38 +0800 |
commit | 820aa1a56a8a4bdd8fc7098b1e7cff5dd190b2eb (patch) | |
tree | 35e76427b3978a1b5ac654dcc1334eb8d32f3334 /script/provider | |
parent | 99b0517b6e6a278412dd053d27b08c0671ac1c49 (diff) | |
download | lua-language-server-820aa1a56a8a4bdd8fc7098b1e7cff5dd190b2eb.zip |
fix #884
Diffstat (limited to 'script/provider')
-rw-r--r-- | script/provider/provider.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index df2a95f2..cf06090b 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -230,6 +230,9 @@ m.register 'textDocument/hover' { abortByFileUpdate = true, ---@async function (params) + if not config.get('Lua.hover.enable') then + return + end local doc = params.textDocument local uri = files.getRealUri(doc.uri) if not workspace.isReady() then |