From 11fa81b53015f782c30d6aa744f7686f612afe0c Mon Sep 17 00:00:00 2001 From: Myzel394 <50424412+Myzel394@users.noreply.github.com> Date: Sat, 7 Oct 2023 09:58:08 +0200 Subject: [PATCH] fix: Only add buffer command for prompt buffer --- lua/easytables/window.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/easytables/window.lua b/lua/easytables/window.lua index 53b5eee..0a9f2f1 100644 --- a/lua/easytables/window.lua +++ b/lua/easytables/window.lua @@ -173,6 +173,7 @@ function M:register_listeners() vim.api.nvim_create_autocmd( { "QuitPre" }, { + buffer = self.prompt_buffer, callback = function() self:close() end