hosts/base/neovim.nix

29 lines
768 B
Nix
Raw Permalink Normal View History

2023-02-26 16:42:49 +01:00
{ pkgs, ... }:
{
programs.neovim = {
enable = true;
vimAlias = true;
viAlias = true;
defaultEditor = true;
configure = {
customRC = (builtins.readFile ./neovim-init.vim);
packages.myVimPackage = with pkgs.vimPlugins; {
start = [
vim-lastplace
direnv-vim
vim-addon-local-vimrc
vim-nix
vim-airline
vim-airline-themes
vim-colorschemes
changeColorScheme-vim
vim-dispatch
vimtex
suda-vim
];
opt = [];
};
};
};
}