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

MANPAGER='nvim +Man!' causes theme to not load correctly #367

Open
Dragit opened this issue Nov 20, 2024 · 0 comments
Open

MANPAGER='nvim +Man!' causes theme to not load correctly #367

Dragit opened this issue Nov 20, 2024 · 0 comments

Comments

@Dragit
Copy link

Dragit commented Nov 20, 2024

When using nvim as pager to view man pages the Theme is not loaded properly.

Reproduce:
in ~/.bashrc

export MANPAGER='nvim +Man!'

now open a man page
before
after refreshing the theme it looks correct
after

Current workaround

vim.api.nvim_create_autocmd("FileType", {
  pattern = "man",
  callback = function()
    require("nvchad.themes.utils").reload_theme("doomchad")
  end,
  once = true,
})

I hope this is constructive ^.^

@siduck siduck transferred this issue from NvChad/ui Nov 21, 2024
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

1 participant