Skip to content

Commit 06e233a

Browse files
author
bekaboo
committed
fix(general behavior): update winbar on BufModifiedSet
1 parent 36ce8a1 commit 06e233a

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ https://github.com/Bekaboo/dropbar.nvim/assets/76579810/e8c1ac26-0321-4762-9975-
171171
and not vim.wo[win].diff
172172
end,
173173
update_events = {
174+
'BufModifiedSet',
174175
'CursorMoved',
175176
'CursorMovedI',
176177
'DirChanged',
@@ -500,6 +501,7 @@ general behavior of the plugin:
500501
- Default:
501502
```lua
502503
{
504+
'BufModifiedSet',
503505
'CursorMoved',
504506
'CursorMovedI',
505507
'DirChanged',

doc/dropbar.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ behavior of the plugin:
168168
- Default: >lua
169169

170170
{
171+
'BufModifiedSet',
171172
'CursorMoved',
172173
'CursorMovedI',
173174
'DirChanged',

lua/dropbar/configs.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ M.opts = {
1111
and not vim.wo[win].diff
1212
end,
1313
update_events = {
14+
'BufModifiedSet',
1415
'CursorMoved',
1516
'CursorMovedI',
1617
'DirChanged',

0 commit comments

Comments
 (0)