-
Notifications
You must be signed in to change notification settings - Fork 354
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Did you check docs and existing issues?
- I have read all the snacks.nvim docs
- I have updated the plugin to the latest version before submitting this issue
- I have searched the existing issues of snacks.nvim
- I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.11.0
Operating system/version
Arch linux
Describe the bug
If I open a new tab page while on the dashboard the new tabpage will not have the correct settings applied. When running :tabnew it should see that I'm no longer in the dashboard buffer and re-enable tabline/statusline.
Steps To Reproduce
nvim -u repro.lua, start a new session (which opens the dashboard by default:tabnew, open a new tab page- See that statusline is still hidden
Expected Behavior
When opening a new tab, my settings should be reset to what I would expect them to be rather than still reflecting the settings which hide UI elements for the dashboard
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{ "folke/snacks.nvim", opts = { dashboard = {} } },
-- add any other plugins here
},
})Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working