Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
fix(renderer): trigger on BufReadPre instead of BufWinEnter
Browse files Browse the repository at this point in the history
This triggers the `render` function properly when a buffer opens with
the cursor being on/inside a pair.
  • Loading branch information
utilyre committed Mar 21, 2023
1 parent 6708e50 commit 153535a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/sentiment/autocmds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ M.renderer = Autocmd.new({
name = "renderer",
desc = "Render pair",
events = {
"BufWinEnter",
"BufReadPre",
"WinScrolled",
"ModeChanged",
"CursorMoved",
Expand Down

0 comments on commit 153535a

Please sign in to comment.