Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
krissen opened this issue Nov 3, 2021 · 1 comment
Open

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

krissen opened this issue Nov 3, 2021 · 1 comment

Comments

@krissen
Copy link

krissen commented Nov 3, 2021

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?

@ramanenka
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants