## 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
87 lines
3.1 KiB
Nix
87 lines
3.1 KiB
Nix
{
|
|
plugins.startup = {
|
|
enable = true;
|
|
settings = {
|
|
colors = {
|
|
background = "#ffffff";
|
|
folded_section = "#ffffff";
|
|
};
|
|
|
|
header = {
|
|
type = "text";
|
|
oldfiles_directory = false;
|
|
align = "center";
|
|
fold_section = false;
|
|
title = "Header";
|
|
margin = 5;
|
|
content = [
|
|
" ██████╗░███████╗░█████╗░░█████╗░██████╗░████████╗░░░████████╗███████╗░█████╗░██╗░░██╗"
|
|
" ██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝░░░╚══██╔══╝██╔════╝██╔══██╗██║░░██║"
|
|
" ██║░░██║█████╗░░██║░░╚═╝██║░░██║██████╔╝░░░██║░░░░░░░░░██║░░░█████╗░░██║░░╚═╝███████║"
|
|
" ██║░░██║██╔══╝░░██║░░██╗██║░░██║██╔══██╗░░░██║░░░░░░░░░██║░░░██╔══╝░░██║░░██╗██╔══██║"
|
|
" ██████╔╝███████╗╚█████╔╝╚█████╔╝██║░░██║░░░██║░░░██╗░░░██║░░░███████╗╚█████╔╝██║░░██║"
|
|
" ╚═════╝░╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░╚═╝░░░╚══════╝░╚════╝░╚═╝░░╚═╝"
|
|
];
|
|
highlight = "Statement";
|
|
default_color = "";
|
|
oldfiles_amount = 0;
|
|
};
|
|
|
|
body = {
|
|
type = "mapping";
|
|
oldfiles_directory = false;
|
|
align = "center";
|
|
fold_section = false;
|
|
title = "Menu";
|
|
margin = 5;
|
|
content = [
|
|
[
|
|
" Find File"
|
|
"Telescope find_files"
|
|
"ff"
|
|
]
|
|
[
|
|
" Find Word"
|
|
"Telescope live_grep"
|
|
"fr"
|
|
]
|
|
[
|
|
" Recent Files"
|
|
"Telescope oldfiles"
|
|
"fg"
|
|
]
|
|
[
|
|
" File Browser"
|
|
"Telescope file_browser"
|
|
"fe"
|
|
]
|
|
[
|
|
" Copilot Chat"
|
|
"CopilotChat"
|
|
"ct"
|
|
]
|
|
[
|
|
" SecondBrain"
|
|
"edit ~/projects/personal/SecondBrain"
|
|
"sb"
|
|
]
|
|
];
|
|
highlight = "string";
|
|
default_color = "";
|
|
oldfiles_amount = 0;
|
|
};
|
|
|
|
options = {
|
|
paddings = [
|
|
1
|
|
3
|
|
];
|
|
};
|
|
|
|
parts = [
|
|
"header"
|
|
"body"
|
|
];
|
|
};
|
|
};
|
|
}
|