From 5e4e92b5fa8b293b3e2625c200f261b11d85351e Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 6 Jun 2022 21:21:00 +0200 Subject: ma vim: use vimPlugins, not vam --- makefu/2configs/editor/vim.nix | 11 +++++------ 1 file 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" ]; - + }; }) ]; } -- cgit v1.2.3