feat: add fold icons
This commit is contained in:
parent
d7625104a6
commit
1978654d7c
|
@ -15,5 +15,18 @@ return {
|
|||
warn = "",
|
||||
hint = "",
|
||||
info = ""
|
||||
},
|
||||
comments = {
|
||||
fix = '',
|
||||
todo = '',
|
||||
hack = '',
|
||||
warn = '',
|
||||
perf = '',
|
||||
note = '',
|
||||
test = '⏲'
|
||||
},
|
||||
folds = {
|
||||
open = '',
|
||||
closed = ''
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
--
|
||||
-- ==============================================
|
||||
|
||||
local icons = require'config.icons'
|
||||
|
||||
--
|
||||
-- neovim global options
|
||||
-- ..............................................
|
||||
|
@ -38,8 +40,8 @@ opt.foldlevel = 99
|
|||
opt.foldlevelstart = 99
|
||||
opt.foldenable = true
|
||||
opt.fillchars = {
|
||||
foldopen = "",
|
||||
foldclose = "",
|
||||
foldopen = icons.folds.open,
|
||||
foldclose = icons.folds.closed,
|
||||
fold = " ",
|
||||
foldsep = " ",
|
||||
diff = "╱",
|
||||
|
|
Loading…
Reference in New Issue