summaryrefslogtreecommitdiff
path: root/lua/autocommands/buffer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/autocommands/buffer.lua')
-rw-r--r--lua/autocommands/buffer.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/autocommands/buffer.lua b/lua/autocommands/buffer.lua
index da330c8..798baa6 100644
--- a/lua/autocommands/buffer.lua
+++ b/lua/autocommands/buffer.lua
@@ -2,3 +2,7 @@ require("utility.autocmd")
-- autocmd("BufEnter", "*", "lua remove_hidden_windowless_buffers()")
+autocmd("BufEnter", "octo://*/*/review*", "lua prepare_pr_review_curr_buf()")
+
+autocmd("BufLeave", "octo://*/*/review*", "lua unprepare_pr_review_curr_buf()")
+