summaryrefslogtreecommitdiff
path: root/script-beta/workspace
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/workspace')
-rw-r--r--script-beta/workspace/workspace.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/workspace/workspace.lua b/script-beta/workspace/workspace.lua
index f24f825a..70f5616b 100644
--- a/script-beta/workspace/workspace.lua
+++ b/script-beta/workspace/workspace.lua
@@ -178,6 +178,7 @@ function m.findUrisByRequirePath(path, whole)
local results = {}
local mark = {}
local input = path:gsub('%.', '/')
+ :gsub('%%', '%%%%')
for _, luapath in ipairs(config.config.runtime.path) do
local part = luapath:gsub('%?', input)
local uris = m.findUrisByFilePath(part, whole)