diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-01-13 11:52:33 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-01-13 11:52:33 +0800 |
commit | e8c6162442425cae797fa406ff8f4b96bf44af54 (patch) | |
tree | bc39faefcc3d58678903c17990b17f572067abb4 /script/core | |
parent | 118d331f111c4ea6822b8d01469209aeb7d6dd04 (diff) | |
download | lua-language-server-e8c6162442425cae797fa406ff8f4b96bf44af54.zip |
cleanup
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/hover/description.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua index 0cb5377f..8733fa25 100644 --- a/script/core/hover/description.lua +++ b/script/core/hover/description.lua @@ -1,7 +1,5 @@ local vm = require 'vm' local ws = require 'workspace' -local furi = require 'file-uri' -local files = require 'files' local searcher = require 'core.searcher' local markdown = require 'provider.markdown' local config = require 'config' @@ -12,7 +10,6 @@ local noder = require 'core.noder' local rpath = require 'workspace.require-path' local function collectRequire(mode, literal, uri) - local rootPath = ws.getRootUri(uri) or '' local result, searchers if mode == 'require' then result, searchers = rpath.findUrisByRequirePath(uri, literal) |