I currently have a Packer config on one machine and Lazy on another and honestly don't know why I bothered switching to Lazy. What I really crave is simplicity so if NeoVim builds every thing in I think it will be good enough for me.
Replacing it with nixvim is on my forever growing todo list.
- pathogen in 2011
- vundle in 2013
- vim-plug in 2017
Haven't moved since, Plug still does the job, even after I moved to neovim in 2021. Will probably move to the new built-in package manager once the dust has settled.
neovim = {
enable = true;
vimAlias = true;
vimdiffAlias = true;
defaultEditor = true;
plugins = [
pkgs.vimPlugins.fugitive
pkgs.vimPlugins.fzf-vim
pkgs.vimPlugins.vim-gh-line
pkgs.vimPlugins.vim-gutentags
pkgs.vimPlugins.nvim-lspconfig
pkgs.pkgs-unstable.vimPlugins.vim-go
pkgs.pkgs-unstable.vimPlugins.zig-vim
];
extraConfig = builtins.readFile ./vimrc;
extraLuaConfig = builtins.readFile (pkgs.replaceVars ./dev.lua {
inherit (pkgs) ripgrep;
}).outPath;
}In the exceedingly-rare event I do want to add one... overwhelmed with choice. "Have to" is entirely self-imposed
I update my plugins when I want/need to.
For me, lazy.nvim doesn't pull the latest commits automatically. I have to <leader>-L and SHIFT-U it. And I don't do it often exactly because if there's an issue with the plugins I hope it's caught by others and addressed before I update mine.
the nr of times now people have been owned by rogue plugins via editors is rising each day...
Now I use vimplug though
git submodule updatehttps://github.com/azemetre/dotfiles/pull/61/files
It was worth it to me because I never relied on many features of lazy.nvim. The benefit of the approach linked in the PR is that it also defer's loading packages as well. The only one I initially load is alpha.nvim (a dashboard), everything else gets deferred. This brought down my startup time from around 300ms to sub 100ms.
That's handy!