summaryrefslogtreecommitdiff
path: root/script-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-27 16:43:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-27 16:43:33 +0800
commit6c34663ba8d3392136f0c0cedb0c402810e442da (patch)
tree8b2631bff660b375a6de3dffda613ac4a36edb9f /script-beta
parent17c8b0ef28a84f56c1a397f4d07f50a8944e64b9 (diff)
downloadlua-language-server-6c34663ba8d3392136f0c0cedb0c402810e442da.zip
暂存
Diffstat (limited to 'script-beta')
-rw-r--r--script-beta/core/workspace-symbol.lua7
-rw-r--r--script-beta/provider/capability.lua1
-rw-r--r--script-beta/provider/provider.lua4
3 files changed, 12 insertions, 0 deletions
diff --git a/script-beta/core/workspace-symbol.lua b/script-beta/core/workspace-symbol.lua
new file mode 100644
index 00000000..a2d1d8dd
--- /dev/null
+++ b/script-beta/core/workspace-symbol.lua
@@ -0,0 +1,7 @@
+local files = require 'files'
+local define = require 'proto.define'
+local skind = require 'define.symbolkind'
+
+return function (key)
+
+end
diff --git a/script-beta/provider/capability.lua b/script-beta/provider/capability.lua
index 454a3427..bf2d63c8 100644
--- a/script-beta/provider/capability.lua
+++ b/script-beta/provider/capability.lua
@@ -16,6 +16,7 @@ m.initer = {
prepareProvider = true,
},
documentSymbolProvider = true,
+ workspaceSymbolProvider = true,
documentHighlightProvider = true,
codeActionProvider = true,
signatureHelpProvider = {
diff --git a/script-beta/provider/provider.lua b/script-beta/provider/provider.lua
index 13539a97..7c61db14 100644
--- a/script-beta/provider/provider.lua
+++ b/script-beta/provider/provider.lua
@@ -548,3 +548,7 @@ proto.on('workspace/executeCommand', function (params)
return core(params.arguments[1])
end
end)
+
+proto.on('workspaceSymbolProvider', function (params)
+
+end)