mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
fix(notifier): open history window with correct style (#307)
## Description
This
[commit](fd9ef30206
)
renamed the style for `history_notification`, but opening the window
still used the old name.
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
## Related Issue(s)
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots
<!-- Add screenshots of the changes if applicable. -->
This commit is contained in:
parent
276dba043a
commit
d2b5680359
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ function N:show_history(opts)
|
|||
vim.cmd("close")
|
||||
return
|
||||
end
|
||||
local win = Snacks.win({ style = "notification.history", enter = true, show = false })
|
||||
local win = Snacks.win({ style = "notification_history", enter = true, show = false })
|
||||
local buf = win:open_buf()
|
||||
opts = opts or {}
|
||||
if opts.reverse == nil then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue