diff options
Diffstat (limited to '.config/nvim/lua/plugins/auto-save.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/auto-save.lua | 3 |
1 files changed, 2 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, |
