summaryrefslogtreecommitdiff
path: root/script/workspace/workspace.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-08 15:26:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-08 15:26:12 +0800
commit9c21a7a38a6b3f79f8d74cf9ce45ecb431c8ef9a (patch)
treec3dd92c0f69b7955a830a73ccb97adf45e71af8e /script/workspace/workspace.lua
parentde357b269401021fe38eae93ced5b5738877958a (diff)
downloadlua-language-server-9c21a7a38a6b3f79f8d74cf9ce45ecb431c8ef9a.zip
detect third-party libraries
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r--script/workspace/workspace.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 92404c79..211c982c 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -436,7 +436,7 @@ function m.findUrisByRequirePath(path)
end
function m.normalize(path)
- path = path:gsub('$$${(.-)$}', function (key)
+ path = path:gsub('%$%{(.-)%}', function (key)
if key == '3rd' then
return (ROOT / 'meta' / '3rd'):string()
end