diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-08 15:49:10 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-08 15:49:10 +0800 |
commit | 4876958951dff23ed234523d89b47a854e88acea (patch) | |
tree | 5166c29516c525de2d69d8ff03a2c40bc5e0ec99 /script/workspace/workspace.lua | |
parent | 9c21a7a38a6b3f79f8d74cf9ce45ecb431c8ef9a (diff) | |
download | lua-language-server-4876958951dff23ed234523d89b47a854e88acea.zip |
also supports filename
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r-- | script/workspace/workspace.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index 211c982c..fcfde027 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -466,6 +466,8 @@ function m.getAbsolutePath(path) return path end +---@param uri uri +---@return string function m.getRelativePath(uri) local path = furi.decode(uri) if not m.path then |