diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/method/initialize.lua | 2 | ||||
-rw-r--r-- | server/src/vm/library.lua | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/server/src/method/initialize.lua b/server/src/method/initialize.lua index e236617c..ba183c5e 100644 --- a/server/src/method/initialize.lua +++ b/server/src/method/initialize.lua @@ -22,7 +22,7 @@ return function (lsp) -- 支持“重命名” renameProvider = true, -- 支持“大纲” - --documentSymbolProvider = true, + documentSymbolProvider = true, -- 支持“签名帮助” signatureHelpProvider = { triggerCharacters = { '(', ',' }, diff --git a/server/src/vm/library.lua b/server/src/vm/library.lua index 8f034229..167ac726 100644 --- a/server/src/vm/library.lua +++ b/server/src/vm/library.lua @@ -54,6 +54,7 @@ function buildLibValue(lib) for fName, fLib in pairs(lib.child) do local fValue = buildLibValue(fLib) value:rawSet(fName, fValue) + value:addInfo('set child', sourceMgr.dummy(), fName) end end |