summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-06-06 21:21:00 +0200
committermakefu <github@syntax-fehler.de>2022-06-06 21:21:00 +0200
commit5e4e92b5fa8b293b3e2625c200f261b11d85351e (patch)
tree949b6813fa4da347c07335ad2bb498dc57582145
parentde582a2d00f9a2b0a17b29e54681be2be6390e71 (diff)
ma vim: use vimPlugins, not vam
-rw-r--r--makefu/2configs/editor/vim.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/makefu/2configs/editor/vim.nix b/makefu/2configs/editor/vim.nix
index 5751bf489..07f80719d 100644
--- a/makefu/2configs/editor/vim.nix
+++ b/makefu/2configs/editor/vim.nix
@@ -6,16 +6,15 @@
((pkgs.vim_configurable.override { python = pkgs.python3; }).customize {
name = "vim";
vimrcConfig.customRC = builtins.readFile ./vimrc;
- vimrcConfig.vam.knownPlugins = pkgs.vimPlugins;
- vimrcConfig.vam.pluginDictionaries = [
- { names = [ "undotree"
+ vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; { start = [
+ "undotree"
"YouCompleteMe"
#"UltiSnips"
- "vim-better-whitespace" ]; }
# vim-nix handles indentation better but does not perform sanity
- { names = [ "vim-addon-nix" ]; ft_regex = "^nix\$"; }
+ "vim-addon-nix"
+ "vim-better-whitespace"
];
-
+ };
})
];
}