summaryrefslogtreecommitdiff
path: root/script/provider/capability.lua
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/provider/capability.lua
parent87834511ff48f68a1e972c8e8ec78c8d2dcf71e7 (diff)
downloadlua-language-server-61fa71d28000257ce8c676a4f66313cc55572318.zip
dose not need `get_id` anymore
Diffstat (limited to 'script/provider/capability.lua')
-rw-r--r--script/provider/capability.lua11
1 files changed, 5 insertions, 6 deletions
diff --git a/script/provider/capability.lua b/script/provider/capability.lua
index 8d75d7fe..439978d6 100644
--- a/script/provider/capability.lua
+++ b/script/provider/capability.lua
@@ -81,12 +81,11 @@ function m.getIniter()
},
executeCommandProvider = {
commands = {
- -- TODO: 不再需要 get_id
- 'lua.removeSpace:' .. sp:get_id(),
- 'lua.solve:' .. sp:get_id(),
- 'lua.jsonToLua:' .. sp:get_id(),
- 'lua.setConfig:' .. sp:get_id(),
- 'lua.autoRequire:' .. sp:get_id(),
+ 'lua.removeSpace',
+ 'lua.solve',
+ 'lua.jsonToLua',
+ 'lua.setConfig',
+ 'lua.autoRequire',
},
},
foldingRangeProvider = true,