Skip to content

Commit 868c5e1

Browse files
committed
refactor: Use consistent mapping for plain insert mode
1 parent 31409ab commit 868c5e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/debugprint/setup.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,8 @@ M.map_keys_and_commands = function(global_opts)
101101

102102
map_key("i", global_opts.keymaps.insert.plain, {
103103
callback = function()
104-
return debugprint.debugprint({ insert = true })
104+
feedkeys(debugprint.debugprint({ insert = true }), true)
105105
end,
106-
expr = true,
107106
desc = "Plain debug in-place",
108107
})
109108

0 commit comments

Comments
 (0)