Some non-modifiable files have trailing newlines which get highlighted and ugly. Unfortunately highlight is global, (there's no equivalent of setlocal), so even if I use an autocmd to turn it off in those files, it would then also be disabled in other splits when moving to that window.
Some non-modifiable files have trailing newlines which get highlighted and ugly. Unfortunately
highlight
is global, (there's no equivalent ofsetlocal
), so even if I use anautocmd
to turn it off in those files, it would then also be disabled in other splits when moving to that window.