From c9f102ba2aa336f2111e8625705b46bea80b59f3 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Sun, 9 Jun 2024 12:37:59 +0200 Subject: [PATCH] shell: add neovim plugins --- nix-os/shell.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/nix-os/shell.nix b/nix-os/shell.nix index cee283b..235177c 100644 --- a/nix-os/shell.nix +++ b/nix-os/shell.nix @@ -91,17 +91,38 @@ in set shiftwidth=4 set expandtab set autoindent + set updatetime=500 syntax on set encoding=utf-8 set wildmode=longest,list,full set listchars=space:·,tab:┄┄» set indentkeys-=0# + + " rainbow-delimeters-nvim + let g:rainbow_delimiters = { + \ 'strategy': { + \ ${"''"}: rainbow_delimiters#strategy.global, + \ }, + \ } + + " vim-gitguter + set signcolumn=yes + highlight SignColumn ctermbg=NONE + highlight GitGutterAdd ctermfg=2 + highlight GitGutterChange ctermfg=4 + highlight GitGutterDelete ctermfg=1 + + lua require('guess-indent').setup {} ''; packages.myVimPackage = with pkgs.vimPlugins; { start = [ guess-indent-nvim vim-visual-multi + autoclose-nvim + rainbow-delimiters-nvim + vimagit + vim-gitgutter ]; }; };