fix path matching again
This commit is contained in:
parent
0ca069459a
commit
042d612d68
@ -1,7 +1,7 @@
|
||||
local M = {}
|
||||
|
||||
function M.path_to_matching_str(path)
|
||||
return path:gsub('(%-)', '%%-')
|
||||
return path:gsub('(%-)', '(%%-)'):gsub('(%.)', '(%%.)')
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Loading…
Reference in New Issue
Block a user