aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/optionstr.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-03-09 11:06:47 +0100
committerGitHub <noreply@github.com>2023-03-09 11:06:47 +0100
commit46d4d420e56bb0b4aec696fd8164bffde02d2758 (patch)
tree0e52864f8126941b511d814aed554bed4cc1cd64 /src/nvim/optionstr.c
parente17581fa5342c7396385456faa37e78105994ed2 (diff)
parentfe11079721084b3638ae3d8e5266f95d52028fb7 (diff)
downloadrneovim-46d4d420e56bb0b4aec696fd8164bffde02d2758.tar.gz
rneovim-46d4d420e56bb0b4aec696fd8164bffde02d2758.tar.bz2
rneovim-46d4d420e56bb0b4aec696fd8164bffde02d2758.zip
Merge pull request #22547 from luukvbaal/statusline
perf(statusline): UI elements are always redrawn on K_EVENT
Diffstat (limited to 'src/nvim/optionstr.c')
-rw-r--r--src/nvim/optionstr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c
index b335e255a4..0774baf2d8 100644
--- a/src/nvim/optionstr.c
+++ b/src/nvim/optionstr.c
@@ -49,6 +49,7 @@
#include "nvim/spell.h"
#include "nvim/spellfile.h"
#include "nvim/spellsuggest.h"
+#include "nvim/statusline.h"
#include "nvim/strings.h"
#include "nvim/tag.h"
#include "nvim/ui.h"
@@ -1220,6 +1221,7 @@ static void did_set_statusline(win_T *win, char **varp, char **gvarp, char **err
}
if (varp == &p_ruf && *errmsg == NULL) {
comp_col();
+ win_redr_ruler(curwin);
}
// add / remove window bars for 'winbar'
if (gvarp == &p_wbr) {