update for updates
This commit is contained in:
@@ -46,3 +46,10 @@ opt.splitbelow = true -- split horizontal window to the bottom
|
|||||||
|
|
||||||
-- turn off swapfile
|
-- turn off swapfile
|
||||||
opt.swapfile = false
|
opt.swapfile = false
|
||||||
|
|
||||||
|
-- auto-reload files changed outside neovim
|
||||||
|
opt.autoread = true
|
||||||
|
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHoldI" }, {
|
||||||
|
pattern = "*",
|
||||||
|
command = "checktime",
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user