mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 13:30:26 +01:00
Detect when file was updated outside of neovim
This commit is contained in:
@@ -19,4 +19,11 @@ vim.opt.wrap = true -- Enable line wrap
|
|||||||
|
|
||||||
vim.opt.spelllang = { "en", "nl" }
|
vim.opt.spelllang = { "en", "nl" }
|
||||||
|
|
||||||
|
-- Enable autoread and set up checking triggers
|
||||||
|
vim.o.autoread = true
|
||||||
|
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter" }, {
|
||||||
|
command = "if mode() != 'c' | checktime | endif",
|
||||||
|
pattern = "*",
|
||||||
|
})
|
||||||
|
|
||||||
-- Colorscheme is set in its plugin file
|
-- Colorscheme is set in its plugin file
|
||||||
|
|||||||
Reference in New Issue
Block a user