nixvim/config/plugins/editor/neo-tree.nix
Roel de Cort c991360154
feat: styling updates (#10)
Updated some plugins to use custom git and diagnostic symbols, also
changed the line number color to match my system highlight color
(catppuccin peach).
2024-06-26 23:18:15 +02:00

46 lines
961 B
Nix

{
plugins.neo-tree = {
enable = true;
sources = ["filesystem" "buffers" "git_status" "document_symbols"];
addBlankLineAtTop = false;
filesystem = {
bindToCwd = false;
followCurrentFile = {
enabled = true;
};
};
defaultComponentConfigs = {
indent = {
withExpanders = true;
expanderCollapsed = "";
expanderExpanded = " ";
expanderHighlight = "NeoTreeExpander";
};
gitStatus = {
symbols = {
added = " ";
conflict = "󰩌 ";
deleted = "󱂥";
ignored = " ";
modified = " ";
renamed = "󰑕";
staged = "󰩍";
unstaged = "";
untracked = "";
};
};
};
};
keymaps = [
{
mode = ["n"];
key = "<leader>e";
action = "<cmd>Neotree toggle<cr>";
options = {desc = "Open/Close Neotree";};
}
];
}