blueyed / vim-diminactive

Vim plugin to dim inactive windows
339 stars 10 forks source link

Is it possible to customize other highlights on inactive windows? #42

Open jesseleite opened 6 years ago

jesseleite commented 6 years ago

Not sure if this is the correct forum to ask questions about user customizability? Is it possible to customize other highlights for inactive windows, similar to StatusLine's StatusLineNC (for non-current windows)? For example, I'm unable to dim these...

I realize the vim-gitgutter signs are out of scope for diminactive, but I feel like a lot of vim users use vim-gitgutter, so it'd be cool if there was some way (even in the end user's vimrc) to dim those gutter signs. Also, you can see my CursorLineNR highlight there as well. Do you know how I could dim these things on inactive windows? Any help/advice would be appreciated ❤️

blueyed commented 6 years ago

Maybe we could have a User autocommand that gets triggered, where you could customize things then?

As for vim-gitgutter I think it is popular enough to have some default config for it.

Not sure if it is really possible to (re)define signs, or if it would be better to change/adjust their texthl.

There is a newer method for Neovim, which I am using myself already (thought there was a PR or issue, but could not find it).

jesseleite commented 6 years ago

Hey thanks for the reply!

The user autocommand would help, but I'm worried I still won't be able to highlight CursorLineNR differently from one window to the next. Not sure if you have any ideas?

Also would love to see some config for vim-gitgutter ❤️