2015-08-07 15:50:06 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
2020-10-23 21:31:10 +02:00
|
|
|
{
|
2015-08-07 15:50:06 +02:00
|
|
|
|
|
|
|
environment.systemPackages = [
|
2020-11-18 23:57:33 +01:00
|
|
|
((pkgs.vim_configurable.override { python = pkgs.python3; }).customize {
|
2015-08-07 15:50:06 +02:00
|
|
|
name = "vim";
|
2018-08-30 16:39:23 +02:00
|
|
|
vimrcConfig.customRC = builtins.readFile ./vimrc;
|
2020-10-23 21:31:10 +02:00
|
|
|
vimrcConfig.vam.knownPlugins = pkgs.vimPlugins;
|
2015-08-07 15:50:06 +02:00
|
|
|
vimrcConfig.vam.pluginDictionaries = [
|
|
|
|
{ names = [ "undotree"
|
2020-04-23 16:44:10 +02:00
|
|
|
"YouCompleteMe"
|
|
|
|
#"UltiSnips"
|
2015-08-07 15:50:06 +02:00
|
|
|
"vim-better-whitespace" ]; }
|
2017-09-29 21:33:50 +02:00
|
|
|
# vim-nix handles indentation better but does not perform sanity
|
2015-08-07 15:50:06 +02:00
|
|
|
{ names = [ "vim-addon-nix" ]; ft_regex = "^nix\$"; }
|
|
|
|
];
|
|
|
|
|
|
|
|
})
|
|
|
|
];
|
|
|
|
}
|