blob: 4ce8ae4b8972b98d3b00719003024fdcda2a1f00 (
plain)
1
2
3
4
5
6
7
8
9
|
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,
})
|