diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-30 18:02:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-30 18:02:31 +0800 |
commit | 4a9ab5b1ae9889e9732b53ad8cdf3b6db5394c3b (patch) | |
tree | 935934fdb69c1e94209e79827474b7a145c28b7b /script/provider/provider.lua | |
parent | bb3f84633b01afb0a2f719645f8176f491fb7694 (diff) | |
download | lua-language-server-4a9ab5b1ae9889e9732b53ad8cdf3b6db5394c3b.zip |
command `lua.exportDocument`
finish #1833
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 7f5ca20d..0d7a859f 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -1001,6 +1001,9 @@ m.register 'workspace/executeCommand' { elseif command == 'lua.autoRequire' then local core = require 'core.command.autoRequire' return core(params.arguments[1]) + elseif command == 'lua.exportDocument' then + local core = require 'core.command.exportDocument' + core(params.arguments) end end } |