dark-notify icon indicating copy to clipboard operation
dark-notify copied to clipboard

No ViM intro screen on startup when dark-notify is enabled

Open krissen opened this issue 3 years ago • 1 comments

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?

krissen avatar Nov 03 '21 10:11 krissen

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.

ramanenka avatar Mar 31 '23 11:03 ramanenka