darkrc/vim/lua/config/neotree.lua

44 lines
1.2 KiB
Lua
Raw Permalink Normal View History

2023-06-26 13:10:27 +00:00
return function()
require('neo-tree').setup {
2024-01-11 12:41:17 +00:00
window = {
position = "left";
2024-01-11 12:41:17 +00:00
width = 25;
};
2023-06-26 13:10:27 +00:00
filesystem = {
use_libuv_file_watcher = true;
};
default_component_configs = {
icon = {
folder_empty = "󰜌";
folder_empty_open = "󰜌";
};
git_status = {
symbols = {
renamed = "󰁕";
unstaged = "󰄱";
};
};
};
document_symbols = {
kinds = {
File = { icon = "󰈙", hl = "Tag" };
Namespace = { icon = "󰌗", hl = "Include" };
Package = { icon = "󰏖", hl = "Label" };
Class = { icon = "󰌗", hl = "Include" };
Property = { icon = "󰆧", hl = "@property" };
Enum = { icon = "󰒻", hl = "@number" };
Function = { icon = "󰊕", hl = "Function" };
String = { icon = "󰀬", hl = "String" };
Number = { icon = "󰎠", hl = "Number" };
Array = { icon = "󰅪", hl = "Type" };
Object = { icon = "󰅩", hl = "Type" };
Key = { icon = "󰌋", hl = "" };
Struct = { icon = "󰌗", hl = "Type" };
Operator = { icon = "󰆕", hl = "Operator" };
TypeParameter = { icon = "󰊄", hl = "Type" };
StaticMethod = { icon = '󰠄 ', hl = 'Function' };
}
};
}
end