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

NonText highlight group reset when entering Goyo #232

Open
noib3 opened this issue Aug 11, 2020 · 5 comments
Open

NonText highlight group reset when entering Goyo #232

noib3 opened this issue Aug 11, 2020 · 5 comments

Comments

@noib3
Copy link

noib3 commented Aug 11, 2020

Goyo seems to ignore the color of the NonText highlight group set by the current colorscheme as it gets set to black upon entering.

This is the output of :hi NonText before and after entering Goyo:

before
2020-08-11@15:48:49

after
2020-08-11@15:49:28

@scbrickley
Copy link

Also experiencing this. Can confirm that it does the same thing for Search, IncSearch, and other highlight groups.

@scbrickley
Copy link

Although, for me, the change happens after entering and then exiting Goyo mode.

@leogama
Copy link

leogama commented Dec 29, 2020

I'm having exactly this problem. It seems to be the same issue as #84 (comment). It's a problem related to colorscheme loading, not specific to Goyo thought…

@noib3
Copy link
Author

noib3 commented Apr 3, 2021

@leogama I'm not sure it's the same issue as #84 (comment). That issue is about Goyo not restoring some highlight groups on exit and can easily be fixed with a few autocommands. This one is about on entry behaviour and is not as easily fixable.

@pocco81
Copy link

pocco81 commented Jun 8, 2021

Unrelated to Goyo itself, but I fixed this problem by giving users the avality to mange which hi groups are affected. The issue on my repo was referenced here, so thought I'd share: pocco81/true-zen.nvim#28

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

4 participants