diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-01-16 13:08:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 13:08:47 +0100 |
commit | fd2ed024c1b0021161bd87af6f7f55e1f6bf4d82 (patch) | |
tree | 4cf7eb3fcd0063d830ba8ddb1af57e95501c06f1 /src/nvim/options.lua | |
parent | 50284d07b6f020c819aeb07bfb30d88453e63b6d (diff) | |
parent | 463cb28a22237e20d603edd55088c41795a4e0c5 (diff) | |
download | rneovim-fd2ed024c1b0021161bd87af6f7f55e1f6bf4d82.tar.gz rneovim-fd2ed024c1b0021161bd87af6f7f55e1f6bf4d82.tar.bz2 rneovim-fd2ed024c1b0021161bd87af6f7f55e1f6bf4d82.zip |
Merge pull request #26938 from luukvbaal/relnum
fix(column): redraw 'statuscolumn' on wrapped lines with 'relativenumber'
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 74808485ba..9f5621af41 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -8035,6 +8035,9 @@ return { when drawing the actual buffer line, and positive when drawing the wrapped part of a buffer line. + When using |v:relnum|, keep in mind that cursor movement by itself will + not cause the 'statuscolumn' to update unless |'relativenumber'| is set. + NOTE: The %@ click execute function item is supported as well but the specified function will be the same for each row in the same column. It cannot be switched out through a dynamic 'statuscolumn' format, the |