dotfiles/nix/nvim/lsp/outline.nix

24 lines
395 B
Nix

{
configs,
pkgs,
...
}: {
programs.nixvim = {
keymaps = [
{
action = ":Outline<CR>";
key = "<leader>o";
mode = "n";
options = {
silent = true;
desc = "toggle outline";
};
}
];
extraPlugins = with pkgs.vimPlugins; [
outline-nvim
];
extraConfigLua = ''require("outline").setup({})'';
};
}