blueyed / vim-diminactive

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

Empty Line not Dimming #49

Open SingularisArt opened 2 years ago

SingularisArt commented 2 years ago

Hello there. I've started using your plugin a couple of weeks ago and I'm loving it so much!

But, there's just one small problem. When I open another file using vsplit file-name, the other file gets dimmed out except for the empty lines at the end.

Could you look into this because I don't know any vimscript at all?

luminalle commented 2 years ago

This. Specially annoying with files that have just one line.

If anyone has a hack, it would be very welcome since this repo is not getting much attention.

blueyed commented 2 years ago

Unfortunately this cannot be fixed using the current implementation (a hack).

Neovim provides dimming of inactive windows out of the box, and that might be possible with Vim also by now - not sure.

As for Neovim I've had the idea to use its builtin functionality in/via this plugin, but eventually just did it in my own config.