11cac1aeac
peaksea is neither in the plugin list nor packaged in nixpkgs vimPlugins, so `colorscheme peaksea` errored on startup and vim fell back to the default scheme. Add catppuccin-vim and select catppuccin_mocha (matching the swaylock/dunst palette); drop the dead peaksea packadd guard. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
29 lines
611 B
Nix
29 lines
611 B
Nix
# Editor: vim as the default $EDITOR. Wanted on every host.
|
|
{ pkgs, ... }:
|
|
{
|
|
programs.vim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
plugins = with pkgs.vimPlugins; [
|
|
nerdtree
|
|
ale
|
|
vim-fugitive
|
|
vim-indent-guides
|
|
catppuccin-vim
|
|
];
|
|
settings = {
|
|
expandtab = false;
|
|
tabstop = 2;
|
|
shiftwidth = 2;
|
|
};
|
|
extraConfig = ''
|
|
let g:indent_guides_enable_on_vim_startup = 1
|
|
syntax enable
|
|
set termguicolors
|
|
set background=dark
|
|
colorscheme catppuccin_mocha
|
|
au BufNewFile,BufRead *Jenkinsfile setf groovy
|
|
'';
|
|
};
|
|
}
|