vim packages

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-07-05 14:32:07 +00:00
parent fccf2ef40f
commit bdb87b971b
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,10 @@ in {
options.within.vim.enable = mkEnableOption "Enables Within's vim config"; options.within.vim.enable = mkEnableOption "Enables Within's vim config";
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ vim ]; programs.vim = {
enable = true;
plugins = with pkgs.vimPlugins; [ vim-airline gruvbox vim-go direnv-vim vim-lsp ];
};
home.file.".vimrc".source = ./vimrc; home.file.".vimrc".source = ./vimrc;
}; };