fix: refacto path matchings throughout the code, change the way we call string methods
This commit is contained in:
7
lua/lib/utils.lua
Normal file
7
lua/lib/utils.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
local M = {}
|
||||
|
||||
function M.path_to_matching_str(path)
|
||||
return path:gsub('(%-)', '%%-')
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user