summaryrefslogtreecommitdiff
path: root/script/core/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-04 19:40:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-04 19:40:31 +0800
commit61fa71d28000257ce8c676a4f66313cc55572318 (patch)
tree7b7b9f6f6af425e96463bbac56647ecf776fa4c8 /script/core/completion
parent87834511ff48f68a1e972c8e8ec78c8d2dcf71e7 (diff)
downloadlua-language-server-61fa71d28000257ce8c676a4f66313cc55572318.zip
dose not need `get_id` anymore
Diffstat (limited to 'script/core/completion')
-rw-r--r--script/core/completion/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua
index 401a3583..28e9d108 100644
--- a/script/core/completion/completion.lua
+++ b/script/core/completion/completion.lua
@@ -367,7 +367,7 @@ local function checkModule(state, word, position, results)
commitCharacters = {'.'},
command = {
title = 'autoRequire',
- command = 'lua.autoRequire:' .. sp:get_id(),
+ command = 'lua.autoRequire',
arguments = {
{
uri = guide.getUri(state.ast),