style: cleanup

This commit is contained in:
Folke Lemaitre 2022-11-30 23:14:16 +01:00
parent a197f751f9
commit a87b6e1005
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
5 changed files with 39 additions and 21 deletions

View file

@ -111,9 +111,7 @@ function M.autosave()
local hash = M.hash(cache_path)
-- abort when the file was changed in the meantime
if hash == nil or M.eq(cache_hash, hash) then
vim.fn.system("echo start >> foo.txt")
M.save_cache()
vim.fn.system("echo stop >> foo.txt")
end
end
end,