Skip to content

Commit

Permalink
fix(autocmds): winbar not updated in time in insert mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bekaboo committed May 28, 2023
1 parent 07256d7 commit e54c1a6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,12 @@ https://github.com/Bekaboo/dropbar.nvim/assets/76579810/e8c1ac26-0321-4762-9975-
and not vim.wo[win].diff
end,
update_events = {
'CursorHold',
'CursorHoldI',
'CursorMoved',
'CursorMovedI',
'DirChanged',
'FileChangedShellPost',
'TextChanged',
'TextChangedI',
'VimResized',
'WinResized',
'WinScrolled',
Expand Down Expand Up @@ -486,11 +487,12 @@ general behavior of the plugin:
- Default:
```lua
{
'CursorHold',
'CursorHoldI',
'CursorMoved',
'CursorMovedI',
'DirChanged',
'FileChangedShellPost',
'TextChanged',
'TextChangedI',
'VimResized',
'WinResized',
'WinScrolled',
Expand Down
5 changes: 3 additions & 2 deletions doc/dropbar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,12 @@ behavior of the plugin:
- Default: >lua

{
'CursorHold',
'CursorHoldI',
'CursorMoved',
'CursorMovedI',
'DirChanged',
'FileChangedShellPost',
'TextChanged',
'TextChangedI',
'VimResized',
'WinResized',
'WinScrolled',
Expand Down
5 changes: 3 additions & 2 deletions lua/dropbar/configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ M.opts = {
and not vim.wo[win].diff
end,
update_events = {
'CursorHold',
'CursorHoldI',
'CursorMoved',
'CursorMovedI',
'DirChanged',
'FileChangedShellPost',
'TextChanged',
'TextChangedI',
'VimResized',
'WinResized',
'WinScrolled',
Expand Down

0 comments on commit e54c1a6

Please sign in to comment.