diff options
author | HampusM <hampus@hampusmat.com> | 2024-01-17 01:02:10 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-01-17 01:02:10 +0100 |
commit | cd6efe97c41be6ec5ccda57b53a835968acfdd79 (patch) | |
tree | 03896977c42b3d86c58134c4fe57195b3d133944 /lua/autocommands/buffer.lua | |
parent | 635b69ac3f88cacc30a862809d138d072d55ad3b (diff) |
octoocto
Diffstat (limited to 'lua/autocommands/buffer.lua')
-rw-r--r-- | lua/autocommands/buffer.lua | 4 |
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()") + |