From 2693db05e4ff44a955e66f2e1423c64082827896 Mon Sep 17 00:00:00 2001 From: Ray Andrew <4437323+rayandrew@users.noreply.github.com> Date: Mon, 7 Aug 2023 21:58:44 -0500 Subject: [PATCH] change fold --- lua/rayandrew/set.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lua/rayandrew/set.lua b/lua/rayandrew/set.lua index f8292a0..2a2c0a0 100644 --- a/lua/rayandrew/set.lua +++ b/lua/rayandrew/set.lua @@ -51,7 +51,7 @@ opt.swapfile = false opt.tabstop = 2 -- Number of spaces tabs count for opt.termguicolors = true -- True color support opt.timeoutlen = 300 -opt.undodir = os.getenv("HOME") .. "/.vim/undodir" +opt.undodir = os.getenv("HOME") .. "/.vim/undodir" -- Set an undo directory opt.undofile = true opt.undolevels = 10000 opt.updatetime = 200 -- Save swap file and trigger CursorHold @@ -60,11 +60,12 @@ opt.winminwidth = 5 -- Minimum window width opt.wrap = false -- Disable line wrap -- For UFO -vim.o.foldcolumn = "1" +-- vim.o.foldcolumn = "1" +vim.o.foldcolumn = "0" vim.o.foldlevel = 99 vim.o.foldlevelstart = 99 vim.o.foldenable = true -vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]] +-- vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]] if vim.fn.has("nvim-0.9.0") == 1 then opt.splitkeep = "screen"