Run `nix fmt` at the root of the repository to format all files. I've done this on my fork and this will help me merge your changes later without having to deal with un-formatted files.
53 lines
1,011 B
Nix
53 lines
1,011 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";
|
|
};
|
|
}
|
|
];
|
|
}
|