Improve tests
This commit is contained in:
@@ -7,7 +7,7 @@ local keymap = {}
|
||||
---@param keys string
|
||||
---@return string
|
||||
keymap.t = function(keys)
|
||||
return (string.gsub(keys, '(<[A-Za-z0-9_%-%[%]%^@]->)', function(match)
|
||||
return (string.gsub(keys, '(<[A-Za-z0-9%-%[%]%^@]->)', function(match)
|
||||
return vim.api.nvim_eval(string.format([["\%s"]], match))
|
||||
end))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user