Vim config update

This commit is contained in:
Filippo Berto 2023-01-26 22:01:59 +01:00
parent 828c687eff
commit 629816db84
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
4 changed files with 20 additions and 4 deletions

View file

@ -6,5 +6,6 @@
[ nodePackages.typescript-language-server ]
++ lib.optionals config.programs.kakoune.enable
[ nodePackages.typescript-language-server ];
programs.neovim.withNodeJs = true;
}

View file

@ -3,4 +3,5 @@
[ nixpkgs-fmt nixfmt nix-prefetch-scripts nix-review nix-tree ]
++ lib.optionals config.programs.helix.enable [ nil ]
++ lib.optionals config.programs.kakoune.enable [ rnix-lsp ];
programs.neovim.plugins = with pkgs.vimPlugins; [ vim-nix ];
}

View file

@ -13,4 +13,5 @@
# python3Packages.pyls-black # BLACK # NOT UPDATED
python3Packages.pyls-isort # ISORT
];
programs.neovim.withPython3 = true;
}

View file

@ -1,10 +1,23 @@
{ pkgs, ... }: {
programs.neovim = {
enable = true;
plugins = with pkgs.vimPlugins; [ vim-airline vim-airline-themes ];
plugins = with pkgs.vimPlugins; [
{
plugin = airline;
config = "let g:airline#extensions#tabline#left_alt_sep = '>'";
}
vim-airline-themes
fugitive
surround
];
# settings = { ignorecase = true; };
# extraConfig = ''
# set mouse=a
# '';
coc.enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
extraConfig = ''
set mouse=a
let g:airline#extensions#tabline#left_alt_sep = '>'
'';
};
}