feat: move to nixvim

This commit is contained in:
Kat Inskip 2025-11-19 04:39:35 -08:00
parent ca97476a47
commit 779c3c4098
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
22 changed files with 772 additions and 57 deletions

View file

@ -0,0 +1,29 @@
_: {
plugins = let
basePlugin = {
enable = true;
autoLoad = true;
};
in {
aerial =
basePlugin
// {
settings = {
backends = [
"treesitter"
"lsp"
"markdown"
"man"
];
attach_mode = "global";
highlight_on_hover = true;
on_attach.__raw = ''
function(buffer)
vim.keymap.set("n", "{", "<cmd>AerialPrev<CR>", { buffer = bufnr })
vim.keymap.set("n", "}", "<cmd>AerialNext<CR>", { buffer = bufnr })
end
'';
};
};
};
}