diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-01 21:32:16 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-01 21:32:16 +0800 |
commit | 0b54714069e2981dea1e6325b8759a5da0d96222 (patch) | |
tree | 26c1b24971ade473f1c5bedff7452aa318e8fb40 /script/provider/capability.lua | |
parent | c42de3c82435ff12d5091aad94034a67361b326f (diff) | |
download | lua-language-server-0b54714069e2981dea1e6325b8759a5da0d96222.zip |
resolve #583
Diffstat (limited to 'script/provider/capability.lua')
-rw-r--r-- | script/provider/capability.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/provider/capability.lua b/script/provider/capability.lua index faeb0690..d71fa09a 100644 --- a/script/provider/capability.lua +++ b/script/provider/capability.lua @@ -95,7 +95,8 @@ function m.getIniter() --testFileEvents() nonil.enable() - if not client.info.capabilities.textDocument.completion.dynamicRegistration then + if not client.info.capabilities.textDocument.completion.dynamicRegistration + or not client.info.capabilities.workspace.configuration then initer.completionProvider = { resolveProvider = true, triggerCharacters = completion.allWords(), |