summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument/hover.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-20 16:28:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-20 16:28:50 +0800
commit99fbc125e4c91ee2f96c6bcca9d6c166e4e98f9c (patch)
treec458f050037af75b21856b044aba57edb5e2eb07 /server/src/method/textDocument/hover.lua
parent217d96a4658cd50933b3456b7f452ff26f66b8c9 (diff)
downloadlua-language-server-99fbc125e4c91ee2f96c6bcca9d6c166e4e98f9c.zip
搜文件
Diffstat (limited to 'server/src/method/textDocument/hover.lua')
-rw-r--r--server/src/method/textDocument/hover.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/textDocument/hover.lua b/server/src/method/textDocument/hover.lua
index e25e56a1..33b90c7d 100644
--- a/server/src/method/textDocument/hover.lua
+++ b/server/src/method/textDocument/hover.lua
@@ -2,7 +2,7 @@ local matcher = require 'matcher'
return function (lsp, params)
local uri = params.textDocument.uri
- local vm, lines = lsp:loadText(uri)
+ local vm, lines = lsp:loadVM(uri)
if not vm then
return nil
end