Skip to content

Commit

Permalink
fix(diffthis): add missing scheduler call
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed Apr 17, 2022
1 parent 17349fb commit 5168115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lua/gitsigns/diffthis.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions teal/gitsigns/diffthis.tl
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ end)
local bufwrite = void(function(bufnr: integer, dbufnr: integer, base: string, bcache: CacheEntry)
local buftext = util.buf_lines(dbufnr)
bcache.git_obj:stage_lines(buftext)
scheduler()
vim.bo[dbufnr].modified = false
-- If diff buffer base matches the bcache base then also update the
-- signs.
Expand Down

0 comments on commit 5168115

Please sign in to comment.