From 4f91b59860689ac400a56b54559c66adca001762 Mon Sep 17 00:00:00 2001 From: afonso Date: Thu, 12 Sep 2024 21:41:01 +0100 Subject: [PATCH] [nvim] sync buffers between instances and disabled swapfile --- .config/nvim/lua/core/variables.lua | 4 ++++ 1 file changed, 4 insertions(+) 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