darkrc/vim/lua/pack/setup/neotree.lua

39 lines
1.1 KiB
Lua

return function()
require('neo-tree').setup {
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