6 lines
188 B
Lua
6 lines
188 B
Lua
vim.o.autoread = true
|
|
vim.api.nvim_create_autocmd({ "BufEnter", "CursorHold", "CursorHoldI", "FocusGained" }, {
|
|
command = "if mode() != 'c' | checktime | endif",
|
|
pattern = { "*" },
|
|
})
|