2015-08-07 13:50:06 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
2020-10-23 19:31:10 +00:00
|
|
|
{
|
2015-08-07 13:50:06 +00:00
|
|
|
|
|
|
|
environment.systemPackages = [
|
2020-11-18 22:57:33 +00:00
|
|
|
((pkgs.vim_configurable.override { python = pkgs.python3; }).customize {
|
2015-08-07 13:50:06 +00:00
|
|
|
name = "vim";
|
2018-08-30 14:39:23 +00:00
|
|
|
vimrcConfig.customRC = builtins.readFile ./vimrc;
|
2022-06-06 19:21:00 +00:00
|
|
|
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; { start = [
|
|
|
|
"undotree"
|
2020-04-23 14:44:10 +00:00
|
|
|
"YouCompleteMe"
|
|
|
|
#"UltiSnips"
|
2017-09-29 19:33:50 +00:00
|
|
|
# vim-nix handles indentation better but does not perform sanity
|
2022-06-06 19:21:00 +00:00
|
|
|
"vim-addon-nix"
|
|
|
|
"vim-better-whitespace"
|
2015-08-07 13:50:06 +00:00
|
|
|
];
|
2022-06-06 19:21:00 +00:00
|
|
|
};
|
2015-08-07 13:50:06 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
}
|