Something went wrong. Try again.
My own personal NeoVim configuration. Powered by vim.pack and lz.n
Something went wrong. Try again.
123456789vim.api.nvim_create_autocmd({ "TextChanged", "TextChangedI", "InsertLeave" }, { nested = true, callback = function() if vim.bo.modified and vim.bo.buftype == "" and not vim.bo.readonly and vim.fn.expand("%") ~= "" then vim.cmd("silent! write") end end,})