## Summary - update flake inputs and switch formatter usage from `nixfmt-rfc-style` to `nixfmt` - migrate deprecated NixVim plugin options for `treesitter`, `treesitter-textobjects`, `startup`, and `neo-tree` - replace deprecated `vim.lsp.with()` handler wrappers in the local LSP config - apply resulting `nixfmt` formatting cleanup ## Testing - `nix flake check` ## Notes - the remaining warning during evaluation is the upstream Nixpkgs notice that `x86_64-darwin` support ends after Nixpkgs 26.05
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{
|
|
plugins.neo-tree = {
|
|
enable = true;
|
|
settings = {
|
|
sources = [
|
|
"filesystem"
|
|
"buffers"
|
|
"git_status"
|
|
"document_symbols"
|
|
];
|
|
add_blank_line_at_top = false;
|
|
|
|
filesystem = {
|
|
bind_to_cwd = false;
|
|
follow_current_file = {
|
|
enabled = true;
|
|
};
|
|
};
|
|
|
|
default_component_configs = {
|
|
indent = {
|
|
with_expanders = true;
|
|
expander_collapsed = "";
|
|
expander_expanded = "";
|
|
expander_highlight = "NeoTreeExpander";
|
|
};
|
|
|
|
git_status = {
|
|
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";
|
|
};
|
|
}
|
|
];
|
|
}
|