blueyed / vim-diminactive

Vim plugin to dim inactive windows
336 stars 12 forks source link

Do not disable syntax if the buffer is displayed in the current window #21

Closed blueyed closed 8 years ago

blueyed commented 8 years ago

syntax is a buffer local setting, and the current window should never get dimmed using this method. If a buffer is displayed in multiple windows, syntax will be active for all windows now.

Fixes https://github.com/blueyed/vim-diminactive/issues/10.

kelvinst commented 8 years ago

:+1: for this