Public Access
auto update file/buffer on focus
This commit is contained in:
@@ -10,6 +10,11 @@ o.signcolumn = "yes"
|
|||||||
o.swapfile = false
|
o.swapfile = false
|
||||||
o.winborder = "single"
|
o.winborder = "single"
|
||||||
o.termguicolors = true
|
o.termguicolors = true
|
||||||
|
o.autoread = true
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHoldI" }, {
|
||||||
|
command = "if mode() != 'c' | checktime | endif",
|
||||||
|
})
|
||||||
|
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
virtual_text = { prefix = "●", spacing = 2, source = "if_many" },
|
virtual_text = { prefix = "●", spacing = 2, source = "if_many" },
|
||||||
|
|||||||
Reference in New Issue
Block a user