diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-20 16:28:50 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-20 16:28:50 +0800 |
commit | 99fbc125e4c91ee2f96c6bcca9d6c166e4e98f9c (patch) | |
tree | c458f050037af75b21856b044aba57edb5e2eb07 /server/src/method/textDocument/rename.lua | |
parent | 217d96a4658cd50933b3456b7f452ff26f66b8c9 (diff) | |
download | lua-language-server-99fbc125e4c91ee2f96c6bcca9d6c166e4e98f9c.zip |
搜文件
Diffstat (limited to 'server/src/method/textDocument/rename.lua')
-rw-r--r-- | server/src/method/textDocument/rename.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/textDocument/rename.lua b/server/src/method/textDocument/rename.lua index dca6cbe4..43f0f7cb 100644 --- a/server/src/method/textDocument/rename.lua +++ b/server/src/method/textDocument/rename.lua @@ -3,7 +3,7 @@ local matcher = require 'matcher' return function (lsp, params) local uri = params.textDocument.uri local newName = params.newName - local vm, lines = lsp:loadText(uri) + local vm, lines = lsp:loadVM(uri) if not vm then return {} end |