From cd6efe97c41be6ec5ccda57b53a835968acfdd79 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 17 Jan 2024 01:02:10 +0100 Subject: octo --- lua/autocommands/buffer.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/autocommands/buffer.lua') 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()") + -- cgit v1.2.3-18-g5258