feat: add folder icons
This commit is contained in:
parent
3bc65870d6
commit
31e81ae7f2
|
@ -28,5 +28,11 @@ return {
|
||||||
folds = {
|
folds = {
|
||||||
open = '',
|
open = '',
|
||||||
closed = ''
|
closed = ''
|
||||||
}
|
},
|
||||||
|
folder = {
|
||||||
|
closed = '',
|
||||||
|
open = '',
|
||||||
|
empty = ''
|
||||||
|
},
|
||||||
|
file = ''
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
--
|
--
|
||||||
-- ==============================================
|
-- ==============================================
|
||||||
|
|
||||||
ui = require 'config.ui'
|
local ui = require 'config.ui'
|
||||||
|
local icons = require 'config.icons'
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"nvim-neo-tree/neo-tree.nvim",
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
|
@ -59,9 +60,15 @@ return {
|
||||||
indent_marker = "│",
|
indent_marker = "│",
|
||||||
last_indent_marker = "└",
|
last_indent_marker = "└",
|
||||||
with_expanders = true, -- if nil and file nesting is enabled, will enable expanders
|
with_expanders = true, -- if nil and file nesting is enabled, will enable expanders
|
||||||
expander_collapsed = "",
|
expander_collapsed = icons.folds.open,
|
||||||
expander_expanded = "",
|
expander_expanded = icons.folds.closed,
|
||||||
expander_highlight = "NeoTreeExpander",
|
expander_highlight = "NeoTreeExpander",
|
||||||
|
},
|
||||||
|
icon = {
|
||||||
|
folder_closed = icons.folder.closed,
|
||||||
|
folder_open = icons.folder.open,
|
||||||
|
folder_empty = icons.folder.empty,
|
||||||
|
default = icons.file
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue