diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-08 15:26:12 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-08 15:26:12 +0800 |
commit | 9c21a7a38a6b3f79f8d74cf9ce45ecb431c8ef9a (patch) | |
tree | c3dd92c0f69b7955a830a73ccb97adf45e71af8e /script/workspace/workspace.lua | |
parent | de357b269401021fe38eae93ced5b5738877958a (diff) | |
download | lua-language-server-9c21a7a38a6b3f79f8d74cf9ce45ecb431c8ef9a.zip |
detect third-party libraries
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r-- | script/workspace/workspace.lua | 2 |
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 |