blob: 4adeb03dea10eba07fd48f5e7a2f8afd0aaa3e60 (
plain)
1
2
3
4
5
6
7
|
local autocmd_group = vim.api.nvim_create_augroup("Custom auto-commands", { clear = true })
vim.api.nvim_create_autocmd({ "CursorHold" }, {
desc = "reload the file on changes",
command = "silent! checktime",
group = autocmd_group,
})
|