summaryrefslogtreecommitdiff
path: root/script-beta/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-24 21:55:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-24 21:55:38 +0800
commit412f7946509ba124cb5895cf1ae0bf923dc0442b (patch)
treebbbf1a1172ec92c9ebb9ff35aba2441c048385a0 /script-beta/provider
parent50c4581e535978bfd8044d37688a4a1dbe9d22b3 (diff)
downloadlua-language-server-412f7946509ba124cb5895cf1ae0bf923dc0442b.zip
不再取消上个文件符号请求
Diffstat (limited to 'script-beta/provider')
-rw-r--r--script-beta/provider/provider.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/script-beta/provider/provider.lua b/script-beta/provider/provider.lua
index 36f42033..57ae637e 100644
--- a/script-beta/provider/provider.lua
+++ b/script-beta/provider/provider.lua
@@ -479,8 +479,6 @@ end)
proto.on('textDocument/documentSymbol', function (params)
local core = require 'core.document-symbol'
- await.close('textDocument/documentSymbol')
- await.setID('textDocument/documentSymbol')
local uri = params.textDocument.uri
local lines = files.getLines(uri)
local text = files.getText(uri)