From f670202de619cb6fb4f50c91d9a4b5b88063818e Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 17 May 2026 14:47:30 +0300 Subject: a bunch of changes --- .config/nvim/lua/plugins/auto-save.lua | 3 ++- .config/nvim/lua/plugins/auto-session.lua | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/plugins') diff --git a/.config/nvim/lua/plugins/auto-save.lua b/.config/nvim/lua/plugins/auto-save.lua index 7fca622..664166a 100644 --- a/.config/nvim/lua/plugins/auto-save.lua +++ b/.config/nvim/lua/plugins/auto-save.lua @@ -34,7 +34,8 @@ return { local filetype = vim.bo[buf].filetype -- Don't autosave special buffers or Oil buffers - return buftype == '' and filetype ~= 'oil' and filetype ~= 'hyprlang' + local result = buftype == '' and filetype ~= 'oil' and filetype ~= 'hyprlang' and filetype ~= 'build_terminal' + return result end, } end, diff --git a/.config/nvim/lua/plugins/auto-session.lua b/.config/nvim/lua/plugins/auto-session.lua index 925893e..60ecdfb 100644 --- a/.config/nvim/lua/plugins/auto-session.lua +++ b/.config/nvim/lua/plugins/auto-session.lua @@ -4,5 +4,7 @@ return { opts = { suppressed_dirs = { '~/', '/' }, session_lens = { load_on_setup = false }, + bypass_save_filetypes = { 'snacks_dashboard' }, + close_filetypes_on_save = { 'checkhealth', 'build_terminal' }, }, } -- cgit v1.3.1