mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 15:42:14 +02:00
updated the options for better folds
This commit is contained in:
@@ -1,9 +1,5 @@
|
|||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
|
|
||||||
function GetFoldText()
|
|
||||||
return '▼'
|
|
||||||
end
|
|
||||||
|
|
||||||
opt.autoindent = true
|
opt.autoindent = true
|
||||||
opt.autoread = true
|
opt.autoread = true
|
||||||
opt.backspace = "indent,eol,start"
|
opt.backspace = "indent,eol,start"
|
||||||
@@ -46,5 +42,4 @@ opt.signcolumn = "yes"
|
|||||||
opt.splitright = true
|
opt.splitright = true
|
||||||
opt.splitbelow = true
|
opt.splitbelow = true
|
||||||
opt.conceallevel = 3
|
opt.conceallevel = 3
|
||||||
opt.foldtext = "v:GetFoldText()"
|
opt.foldtext = "▼"
|
||||||
opt.foldmethod = 'manual'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user