Skip to content

Commit

Permalink
bug: clear_popup_ms config option wasn't used
Browse files Browse the repository at this point in the history
  • Loading branch information
csessh committed Oct 7, 2024
1 parent c2469fb commit 3ab6c51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/stopinsert/popup.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
local M = {}
local config = require("stopinsert.config")

--- Create a simple popup message, positioned in the bottom right corner of the buffer
--- Automatically close this popup after 5 seconds
Expand Down Expand Up @@ -33,7 +34,7 @@ function M.show(message)
if vim.api.nvim_win_is_valid(win) then
vim.api.nvim_win_close(win, true)
end
end, 5000)
end, config.clear_popup_ms)
end

return M

0 comments on commit 3ab6c51

Please sign in to comment.