From 09fadb361f495860db81a61cba154473cc770860 Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Thu, 14 Sep 2023 08:39:55 +0530 Subject: [PATCH] refactor: disable swap file and correct the syntax of the shotmess --- lua/config/options.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/config/options.lua b/lua/config/options.lua index f022c4c..e68e932 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -30,8 +30,8 @@ opt.numberwidth = 4 opt.relativenumber = true -- Relative line numbers opt.ruler = false --- disble vim intro -opt.shortmess:append("sI") +-- disble somem vim messages +opt.shortmess:append({ I = true, s = true }) opt.signcolumn = "yes" opt.splitbelow = true @@ -39,6 +39,7 @@ opt.splitright = true opt.termguicolors = true opt.timeoutlen = 400 opt.undofile = true +opt.swapfile = false opt.updatetime = 250