This commit is contained in:
albert 2025-02-21 14:31:08 -08:00
parent c3168831e4
commit 6735b49567
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -50,13 +50,9 @@
edgy = {
enable = true;
settings = {
options = {
left.size = 30;
right.size = 30;
};
left = [
{
title = "NeoTree";
title = "󰉓 Files";
ft = "neo-tree";
filter = ''
function(buf)
@ -65,7 +61,7 @@
'';
}
{
title = "Git";
title = "󰈚 Buffers";
ft = "neo-tree";
filter = ''
function(buf)
@ -73,9 +69,16 @@
end
'';
}
];
right = [
{ ft = "neo-tree"; }
{
title = "󰊢 Git";
ft = "neo-tree";
filter = ''
function(buf)
return vim.b[buf].neo_tree_source == "git_status"
end
'';
}
];
};
};
@ -151,8 +154,8 @@
{
# filetype = "NvimTree";
filetype = "neo-tree";
text = "File Explorer";
highlight = "Directory";
text = "Explorer";
# highlight = "Directory";
# highlight = "EcovimNvimTreeTitle";
text_align = "center";
separator = true;
@ -161,9 +164,6 @@
};
};
};
# TODO: Need to fix the icons when a file is edited.
# I believe this is it: https://nix-community.github.io/nixvim/plugins/neo-tree/renderers.html#pluginsneo-treerenderersfile
# sidebar file browser
neo-tree = {
enable = true;
@ -173,10 +173,10 @@
hideRootNode = true;
popupBorderStyle = "rounded";
sourceSelector = {
winbar = true;
winbar = false;
};
defaultComponentConfigs = {
name.trailingSlash = true;
name.trailingSlash = false;
};
sources = [
"filesystem"
@ -195,16 +195,6 @@
};
};
};
nvim-tree = {
enable = false;
diagnostics.enable = true;
tab.sync.close = true;
renderer = {
highlightModified = "icon";
highlightOpenedFiles = "all";
indentMarkers.enable = true;
};
};
# Terminal in vim
toggleterm.enable = true;
# Alerts / CodeActions
@ -212,11 +202,6 @@
enable = true;
settings = {
auto_close = true;
# cycle_results = false;
# height = 14;
# win_config = {
# border = "rounded";
# };
};
};