Skip to content

Commit

Permalink
fix(general behavior): update winbar on BufModifiedSet
Browse files Browse the repository at this point in the history
  • Loading branch information
bekaboo committed Jun 3, 2023
1 parent 36ce8a1 commit 06e233a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ https://github.com/Bekaboo/dropbar.nvim/assets/76579810/e8c1ac26-0321-4762-9975-
and not vim.wo[win].diff
end,
update_events = {
'BufModifiedSet',
'CursorMoved',
'CursorMovedI',
'DirChanged',
Expand Down Expand Up @@ -500,6 +501,7 @@ general behavior of the plugin:
- Default:
```lua
{
'BufModifiedSet',
'CursorMoved',
'CursorMovedI',
'DirChanged',
Expand Down
1 change: 1 addition & 0 deletions doc/dropbar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ behavior of the plugin:
- Default: >lua

{
'BufModifiedSet',
'CursorMoved',
'CursorMovedI',
'DirChanged',
Expand Down
1 change: 1 addition & 0 deletions lua/dropbar/configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ M.opts = {
and not vim.wo[win].diff
end,
update_events = {
'BufModifiedSet',
'CursorMoved',
'CursorMovedI',
'DirChanged',
Expand Down

0 comments on commit 06e233a

Please sign in to comment.