diff options
| author | Kyren223 <contact@kyren.codes> | 2026-05-17 14:47:30 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2026-05-17 14:47:30 +0300 |
| commit | f670202de619cb6fb4f50c91d9a4b5b88063818e (patch) | |
| tree | cfb8304a8325f6415971416495d669c2dc620d28 /.config/nvim/lua/plugins | |
| parent | df7159ffb6afc7ca83fe36bfd9ee41ac0f0669e5 (diff) | |
a bunch of changes
Diffstat (limited to '.config/nvim/lua/plugins')
| -rw-r--r-- | .config/nvim/lua/plugins/auto-save.lua | 3 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins/auto-session.lua | 2 |
2 files changed, 4 insertions, 1 deletions
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' }, }, } |
