summaryrefslogtreecommitdiff
path: root/lua/autocommands
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-01-17 01:02:10 +0100
committerHampusM <hampus@hampusmat.com>2024-01-17 01:02:10 +0100
commitcd6efe97c41be6ec5ccda57b53a835968acfdd79 (patch)
tree03896977c42b3d86c58134c4fe57195b3d133944 /lua/autocommands
parent635b69ac3f88cacc30a862809d138d072d55ad3b (diff)
octoocto
Diffstat (limited to 'lua/autocommands')
-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()")
+