From 463cb28a22237e20d603edd55088c41795a4e0c5 Mon Sep 17 00:00:00 2001 From: Luuk van Baal Date: Sun, 7 Jan 2024 10:08:51 +0100 Subject: docs(column): 'statuscolumn' redraw interaction with 'relativenumber' --- src/nvim/options.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit