Skip to content

Commit

Permalink
fix(input): ignore 'keymap' for feeding default value
Browse files Browse the repository at this point in the history
  • Loading branch information
MunifTanjim committed Mar 4, 2024
1 parent b81333d commit fbb139c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nui/input/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function Input:mount()

if #self._.default_value then
self:on(event.InsertEnter, function()
vim.api.nvim_feedkeys(self._.default_value, "t", true)
vim.api.nvim_feedkeys(self._.default_value, "n", true)
end, { once = true })
end

Expand Down

0 comments on commit fbb139c

Please sign in to comment.