From dc183681d1c5c23a2b1fddcfb007c82ad6352723 Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Mon, 26 Jun 2023 11:38:25 +0530 Subject: [PATCH] chore: add colocolumn and reduce the update time --- lua/config/options.lua | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lua/config/options.lua b/lua/config/options.lua index 07898e3..f022c4c 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -77,9 +77,12 @@ opt.wildmode = "longest:full,full" -- Command-line completion mode opt.winminwidth = 7 -- Minimum window width opt.wrap = false -- Disable line wrap --- opt.colorcolumn = "82" +opt.colorcolumn = "120" -opt.swapfile = false -opt.undofile = true -opt.backup = false -opt.undodir = os.getenv("HOME") .. "/.vim/undodir" +if vim.fn.has("nvim-0.9.0") == 1 then + opt.splitkeep = "screen" + opt.shortmess:append({ C = true }) +end + +-- Fix markdown indentation settings +vim.g.markdown_recommended_style = 0