diff options
Diffstat (limited to 'server/src/method/initialize.lua')
-rw-r--r-- | server/src/method/initialize.lua | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/server/src/method/initialize.lua b/server/src/method/initialize.lua index ba183c5e..538a8f9c 100644 --- a/server/src/method/initialize.lua +++ b/server/src/method/initialize.lua @@ -11,19 +11,13 @@ return function (lsp) lsp._inited = true return { capabilities = { - -- 支持“悬浮” hoverProvider = true, - -- 支持“转到定义” definitionProvider = true, - -- 支持“转到实现” implementationProvider = true, - -- 支持“查找引用” referencesProvider = true, - -- 支持“重命名” renameProvider = true, - -- 支持“大纲” documentSymbolProvider = true, - -- 支持“签名帮助” + --documentHighlightProvider = true, signatureHelpProvider = { triggerCharacters = { '(', ',' }, }, @@ -34,12 +28,10 @@ return function (lsp) -- 文本改变时完全通知 TODO 支持差量更新(2) change = 1, }, - -- 自动完成 completionProvider = { resolveProvider = false, triggerCharacters = allWords(), }, - -- 工作目录 workspace = { workspaceFolders = { supported = true, |