sethen / line-number-change-mode.nvim

A Neovim plugin that allows you to change the color and text decoration of a line number when the mode changes
MIT License
25 stars 2 forks source link

Feature: Only show the mode highlight in the active window #9

Open cameronr opened 19 hours ago

cameronr commented 19 hours ago

I noticed that when you have window splits, the mode highlight is shown in all windows:

Screenshot 2024-10-24 at 12 22 51

I thought it'd be nice to only show the mode highlights in the currently active window so I implemented it:

Screenshot 2024-10-24 at 12 16 58

I'll submit a PR with that behavior as an option (defaulting off for now); hopefully you like the idea. The PR will include the changes in #8 so you can close that one if you're ok with this one.