mvllow / modes.nvim

Prismatic line decorations for the adventurous vim user
550 stars 13 forks source link

wip: improve cursorline behaviour #29

Closed mvllow closed 2 years ago

mvllow commented 2 years ago

This no longer enables and disables vim.opt.cursorline when leaving or entering windows. Instead, we toggle whether highlights should be applied. Unfortunately this is not a fully working solution. When inside an ignored filetype, highlights are not applied but once you are in a normal window again, cursorlines that can still be seen in ignored filetypes are now highlighted due to highlights being global.

Ref #28