diff --git a/lua/dressing/map_util.lua b/lua/dressing/map_util.lua index f833f8a..55d12b9 100644 --- a/lua/dressing/map_util.lua +++ b/lua/dressing/map_util.lua @@ -37,7 +37,9 @@ M.create_maps_to_plug = function(bufnr, mode, bindings, prefix) -- Prefix with unless this is a or :Cmd mapping if type(rhs) == "string" then if not rhs:match("[<:]") then - rhs = "" .. prefix .. rhs + rhs = "" .. prefix .. rhs .. "" + else + rhs = rhs .. "" end if mode == "i" then rhs = "" .. rhs