summaryrefslogtreecommitdiff
path: root/script/provider/capability.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-09 16:54:10 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-09 16:54:10 +0800
commit2e76da9f371bccd35e3da80b3a2af60a703f627c (patch)
treee7240d9da3ae60af576c51c68a978c54516024a2 /script/provider/capability.lua
parente32f17eb3cb4b98960f1f048bae654e43cf95984 (diff)
downloadlua-language-server-2e76da9f371bccd35e3da80b3a2af60a703f627c.zip
improve `auto require`
Diffstat (limited to 'script/provider/capability.lua')
-rw-r--r--script/provider/capability.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/provider/capability.lua b/script/provider/capability.lua
index 9bb4ed1e..76cadc0d 100644
--- a/script/provider/capability.lua
+++ b/script/provider/capability.lua
@@ -84,6 +84,7 @@ function m.getIniter()
'lua.solve:' .. sp:get_id(),
'lua.jsonToLua:' .. sp:get_id(),
'lua.setConfig:' .. sp:get_id(),
+ 'lua.autoRequire:' .. sp:get_id(),
},
},
foldingRangeProvider = true,