mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
29 lines
632 B
Nix
29 lines
632 B
Nix
_: {
|
|
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
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|