diff --git a/.config/nvim/lua/core/variables.lua b/.config/nvim/lua/core/variables.lua index 230a9e6..c8ae4bd 100644 --- a/.config/nvim/lua/core/variables.lua +++ b/.config/nvim/lua/core/variables.lua @@ -42,3 +42,7 @@ vim.g.jukit_mappings = 0 vim.opt.formatoptions:remove("ro") --Sign gutter always on vim.opt.signcolumn = "yes" +-- sync buffers automatically +vim.opt.autoread = true +-- disable swapfile +vim.opt.swapfile = false