summaryrefslogtreecommitdiff
path: root/.config/nvim/lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/custom/plugins/buffer-vacuum.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/buffer-vacuum.lua b/.config/nvim/lua/custom/plugins/buffer-vacuum.lua
new file mode 100644
index 0000000..5e4692c
--- /dev/null
+++ b/.config/nvim/lua/custom/plugins/buffer-vacuum.lua
@@ -0,0 +1,9 @@
+return {
+ -- FIX: Only cleans 1 buffer at a time
+ -- which means if u have more than max buffers, it'll never go below MAX buffers
+ 'ChuufMaster/buffer-vacuum',
+ event = 'VeryLazy',
+ opts = {
+ max_buffers = 6,
+ },
+}