From 7e816a0cdd2c88361b25980b0890b8ac8da16ab7 Mon Sep 17 00:00:00 2001 From: sumneko Date: Tue, 23 Apr 2019 11:58:30 +0800 Subject: =?UTF-8?q?=E4=BC=98=E5=8C=96definition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/method/textDocument/definition.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/method/textDocument') diff --git a/server/src/method/textDocument/definition.lua b/server/src/method/textDocument/definition.lua index d33fd739..20b2191f 100644 --- a/server/src/method/textDocument/definition.lua +++ b/server/src/method/textDocument/definition.lua @@ -14,7 +14,7 @@ local function findResult(lsp, params) return nil end - local positions, isGlobal = core.definition(vm, position, 'definition', lsp) + local positions, isGlobal = core.definition(vm, position, 'definition') if not positions then return nil, isGlobal end -- cgit v1.2.3