Updated some plugins to use custom git and diagnostic symbols, also changed the line number color to match my system highlight color (catppuccin peach).
46 lines
961 B
Nix
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";};
|
|
}
|
|
];
|
|
}
|