added autoread

This commit is contained in:
Radu Macocian (admac)
2026-04-30 15:33:24 +02:00
parent 15e7488d64
commit c201aa51db
+7
View File
@@ -26,5 +26,12 @@ vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@") vim.opt.isfname:append("@-@")
vim.opt.updatetime = 50 vim.opt.updatetime = 50
vim.opt.autoread = true
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold" }, {
callback = function()
vim.cmd("checktime")
end,
})
vim.g.mapleader = " " vim.g.mapleader = " "