From cbd95416969f6faa38b084a664b588ac02f693ba Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Mon, 24 Oct 2022 10:00:15 +0200 Subject: [PATCH] neovim: Added minimap plugin --- roles/home/neovim.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/roles/home/neovim.nix b/roles/home/neovim.nix index a76a00f..af6f856 100644 --- a/roles/home/neovim.nix +++ b/roles/home/neovim.nix @@ -39,9 +39,11 @@ cmp-nvim-lsp (nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars)) nvim-treesitter-textobjects + minimap-vim + pkgs.vimExtraPlugins.leap-nvim ]; - + extraConfig = '' " syntax syntax enable @@ -81,6 +83,11 @@ " Enable trimmming of trailing whitespace let g:neoformat_basic_format_trim = 1 + " Config minimap + let g:minimap_width = 10 + let g:minimap_auto_start = 1 + let g:minimap_auto_start_win_enter = 1 + lua << EOF -- Setup leap-nvim keymappings