change fold
This commit is contained in:
parent
aa1c2b90c2
commit
2693db05e4
1 changed files with 4 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ opt.swapfile = false
|
||||||
opt.tabstop = 2 -- Number of spaces tabs count for
|
opt.tabstop = 2 -- Number of spaces tabs count for
|
||||||
opt.termguicolors = true -- True color support
|
opt.termguicolors = true -- True color support
|
||||||
opt.timeoutlen = 300
|
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.undofile = true
|
||||||
opt.undolevels = 10000
|
opt.undolevels = 10000
|
||||||
opt.updatetime = 200 -- Save swap file and trigger CursorHold
|
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
|
opt.wrap = false -- Disable line wrap
|
||||||
|
|
||||||
-- For UFO
|
-- For UFO
|
||||||
vim.o.foldcolumn = "1"
|
-- vim.o.foldcolumn = "1"
|
||||||
|
vim.o.foldcolumn = "0"
|
||||||
vim.o.foldlevel = 99
|
vim.o.foldlevel = 99
|
||||||
vim.o.foldlevelstart = 99
|
vim.o.foldlevelstart = 99
|
||||||
vim.o.foldenable = true
|
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
|
if vim.fn.has("nvim-0.9.0") == 1 then
|
||||||
opt.splitkeep = "screen"
|
opt.splitkeep = "screen"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue