dark-notify
dark-notify copied to clipboard
No ViM intro screen on startup when dark-notify is enabled
I've got dark-notify setup like thus:
local dn = require('dark_notify')
dn.run({
schemes = {
dark = {
colorscheme = My_theme_dark,
lightline = My_themel_dark
},
light = {
colorscheme = My_theme_light,
lightline = My_themel_light
}
};
})
-- Draw the blinds for now
dn.set_mode("dark")
-- Swap to whatever it isn't currently
dn.toggle()
-- Match the system
dn.update()
-- Stop reacting to changes
dn.stop()
-- Start reacting again, with previous settings
dn.run()
With the above lines, loading and automatic switching of themes work well. But (neo)vim opens up to an empty screen. The intro isn't shown. Admittedly, this is a minor issue; still annoying though.
Actual result: empty screen; no intro info.
Expected result: intro info (as shown if running command intro
).
Any pointers?
I've found out that it's nvim's issue. If I start nvim this way: nvim --clean
to skip any my config and plugins and exec :set bg=light
intro disappears as well.