It would seem NeoVim/AstroNVim/LunarVim have all seemingly stopped using Packer and switched to Lazy. I personally haven't found a good way to install it via Lazy. :PackerInstall seems to be the only way that I've found that has worked after countless hours of config changes, possible workarounds, etc. As you can see I'm still using Packer.
I have a local instance that has the exact same install instructions as the one in Docker (The NeoVim version in Docker is 0.8.0, the one on local is newer, here are the results of the local NeoVim instance when I run :PackerInstall:
I even coded out another plugins.lua file, that I put in ~/.config/nvim/lua/user/plugins.lua that just served as a function of bootstrapping Packer:
local fn = vim.fn
local install_path = fn.stdpath('data') .. '/site/pack/packer/opt/packer.nvim' -- The directory /site/pack/packer/share/packer.nvim is
-- deprecated so using /opt
if fn.empty(fn.glob(install_path)) > 0 then
packer_bootstrap = fn.system({ 'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path })
end
return require('packer').startup(function(use)
use "wbthomason/packer.nvim"
-- All my plugins here
-- Automatically set up configuration after cloning packer.nvim
if packer_bootstrap then
require('packer').sync()
end
end)
This is when I'm running it in an older version of NeoVim in Docker, the command ChatGPT [query] actually works:
Me running:
ChatGPT what is a heap feng shui?
Screenshot for the record:
The query response:
Some people have been trying LunarVim, but their official documentation is outdated and still says one of their core plugins is Packer by @wbthomason:
Just a heads up, this really confused me. LunarVim is in fact using Lazy. My suggestion is to maybe add a warning, or at least a suggestion.
Hi @terror and friends,
It would seem NeoVim/AstroNVim/LunarVim have all seemingly stopped using Packer and switched to Lazy. I personally haven't found a good way to install it via Lazy.
:PackerInstall
seems to be the only way that I've found that has worked after countless hours of config changes, possible workarounds, etc. As you can see I'm still using Packer.I have a local instance that has the exact same install instructions as the one in Docker (The NeoVim version in Docker is
0.8.0
, the one on local is newer, here are the results of the local NeoVim instance when I run:PackerInstall
:I even coded out another
plugins.lua
file, that I put in~/.config/nvim/lua/user/plugins.lua
that just served as a function of bootstrapping Packer:This is when I'm running it in an older version of NeoVim in Docker, the command
ChatGPT [query]
actually works:Me running:
Screenshot for the record:
The query response:
Some people have been trying LunarVim, but their official documentation is outdated and still says one of their core plugins is Packer by @wbthomason:
Just a heads up, this really confused me. LunarVim is in fact using Lazy. My suggestion is to maybe add a warning, or at least a suggestion.
Cheers, Montana Mendy