aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-09-15 19:24:22 +0200
committersrdusr <trevorgray@srdusr.com>2023-09-15 19:24:22 +0200
commit12e2149c3321a6ce08094156a08e5bd2c8ac068f (patch)
tree87f3e28ec99dd6c06f50e8feb55b1666cbac01fb /lua
parent38ec7c480730e3f83322fa34a6a4ff700ca503d9 (diff)
downloaddotfiles-12e2149c3321a6ce08094156a08e5bd2c8ac068f.tar.gz
dotfiles-12e2149c3321a6ce08094156a08e5bd2c8ac068f.zip
Fixed heirline not fully updating vimode when changing buffers
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/heirline.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/plugins/heirline.lua b/lua/plugins/heirline.lua
index 46e0ccc..0f99de0 100644
--- a/lua/plugins/heirline.lua
+++ b/lua/plugins/heirline.lua
@@ -95,6 +95,10 @@ local ViMode = {
end,
update = {
'ModeChanged',
+ pattern = '*:*',
+ callback = vim.schedule_wrap(function()
+ vim.cmd('redrawstatus')
+ end),
},
}