add todotxt to autosave filetypes - dotfiles - 🍚 personal arsenal of "rice"
HTML git clone https://git.drkhsh.at/dotfiles.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 4b6937eca4e104018eaa2d59c653eaf158e50d60
DIR parent 28960833489e0788b3f2feb38188799fb557c05a
HTML Author: drkhsh <me@drkhsh.at>
Date: Sun, 4 May 2025 02:48:13 +0200
add todotxt to autosave filetypes
Diffstat:
M vim/.config/nvim/lua/plugins/autos… | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/vim/.config/nvim/lua/plugins/autosave.lua b/vim/.config/nvim/lua/plugins/autosave.lua
@@ -18,6 +18,10 @@ return {
return true
end
+ if vim.bo.filetype == "todotxt" then
+ return true
+ end
+
return false
end,
},