summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-03 19:03:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-03 19:03:41 +0800
commite3cab3193dc2deffe3a7a7d9340eea13bbf7c787 (patch)
treeb2d1591b6a7add162cec59d6f2eb41558f933229
parentb57cd42bbd0fd2508ab06ba4adf17d1c2de1eff9 (diff)
downloadlua-language-server-e3cab3193dc2deffe3a7a7d9340eea13bbf7c787.zip
fix #376 missed resolveProvider in non-VSCode
-rw-r--r--changelog.md1
-rw-r--r--script/provider/capability.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 44640f46..2602bc2d 100644
--- a/changelog.md
+++ b/changelog.md
@@ -2,6 +2,7 @@
## 1.14.2
* `FIX` [#375](https://github.com/sumneko/lua-language-server/issues/375)
+* `FIX` [#376](https://github.com/sumneko/lua-language-server/issues/376)
## 1.14.1
`2021-2-2`
diff --git a/script/provider/capability.lua b/script/provider/capability.lua
index e7219c93..79261129 100644
--- a/script/provider/capability.lua
+++ b/script/provider/capability.lua
@@ -101,6 +101,7 @@ function m.getIniter()
nonil.enable()
if not client.info.capabilities.textDocument.completion.dynamicRegistration then
initer.completionProvider = {
+ resolveProvider = true,
triggerCharacters = allWords(),
}
end