summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-17 19:07:52 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-17 19:07:52 +0800
commit096ff4ef464af5eda4a45ad4daec813fd362e532 (patch)
tree783f357cc929af4f270d5edb7914f75242bb70c3 /script
parenta3799601ff7eff899667674c56c635c6a4c71ebc (diff)
downloadlua-language-server-096ff4ef464af5eda4a45ad4daec813fd362e532.zip
create test
Diffstat (limited to 'script')
-rw-r--r--script/provider/provider.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index b8b101ed..ea3f2442 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -521,7 +521,8 @@ m.register 'textDocument/completion' {
local count, max = workspace.getLoadingProcess(uri)
return {
{
- label = lang.script('HOVER_WS_LOADING', count, max),textEdit = {
+ label = lang.script('HOVER_WS_LOADING', count, max),
+ textEdit = {
range = {
start = params.position,
['end'] = params.position,