diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-08-28 21:16:13 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-08-28 21:16:13 +0800 |
commit | bd1a684806a01702a46c05cb7c75d3b01f2fd242 (patch) | |
tree | 3291c175c8f02322952ccac2a3003984ecd73aa5 /server/src | |
parent | cd32c1ad7a3fe49a229c5bc53a142f9c2d0fbc9a (diff) | |
download | lua-language-server-bd1a684806a01702a46c05cb7c75d3b01f2fd242.zip |
修正bug
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/uri.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/uri.lua b/server/src/uri.lua index 4505d554..ec3cdad6 100644 --- a/server/src/uri.lua +++ b/server/src/uri.lua @@ -17,7 +17,7 @@ local function decode(uri) end local function encode(path) - local fullPath = fs.absolute(path) + local fullPath = fs.absolute(ROOT / path) local obj = URI_FILE.make_file_uri(fullPath:string(), OS) local uri = obj:uri() return uri |