Compare commits

...

1 commit
0.x ... fix/41

Author SHA1 Message Date
c29c15384c fix: unable to open files with $ character in
Ref: #41
2023-02-17 08:02:09 +00:00

View file

@ -74,7 +74,7 @@ utils.file_action = function()
return
end
vim.cmd(command .. " " .. file)
vim.cmd(command .. " " .. utils.escape_file_name(file))
end
end
@ -85,4 +85,8 @@ utils.line_action = function()
end
end
utils.escape_file_name = function(input)
return string.gsub(input, "([$])", "\\%1")
end
return utils