diff options
author | makefu <github@syntax-fehler.de> | 2022-06-06 21:21:00 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2022-06-06 21:21:00 +0200 |
commit | 5e4e92b5fa8b293b3e2625c200f261b11d85351e (patch) | |
tree | 949b6813fa4da347c07335ad2bb498dc57582145 /makefu/2configs/editor/vim.nix | |
parent | de582a2d00f9a2b0a17b29e54681be2be6390e71 (diff) |
ma vim: use vimPlugins, not vam
Diffstat (limited to 'makefu/2configs/editor/vim.nix')
-rw-r--r-- | makefu/2configs/editor/vim.nix | 11 |
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" ]; - + }; }) ]; } |