diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-28 15:36:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-28 15:36:56 +0800 |
commit | a080b2516d2ce2efb65ad0fd26126cdfa6f6e4f8 (patch) | |
tree | b5672e03d11a43a56b63fe02d7b685eacd21ace4 /server/src/method/textDocument/documentSymbol.lua | |
parent | 549f6dd7ce8c733f9b51f5e93b3f14c1e2a44aca (diff) | |
download | lua-language-server-a080b2516d2ce2efb65ad0fd26126cdfa6f6e4f8.zip |
matcher -> core
Diffstat (limited to 'server/src/method/textDocument/documentSymbol.lua')
-rw-r--r-- | server/src/method/textDocument/documentSymbol.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/method/textDocument/documentSymbol.lua b/server/src/method/textDocument/documentSymbol.lua index 49006f3b..fdfe832a 100644 --- a/server/src/method/textDocument/documentSymbol.lua +++ b/server/src/method/textDocument/documentSymbol.lua @@ -1,4 +1,4 @@ -local matcher = require 'matcher' +local core = require 'core' local function posToRange(lines, start, finish) local start_row, start_col = lines:rowcol(start) @@ -33,7 +33,7 @@ return function (lsp, params) return nil end - local symbols = matcher.documentSymbol(vm) + local symbols = core.documentSymbol(vm) for _, symbol in ipairs(symbols) do convertRange(lines, symbol) |