Closed fedemengo closed 1 week ago
worse than that, on a ubuntu docker image, trying to setup everything from scratch I get
Error detected while processing /root/.local/share/nvim/site/pack/packer/start/aniseed/plugin/aniseed.vim:
line 3:
E5108: Error executing lua [string ":lua"]:1: /root/.local/share/nvim/site/pack/packer/start/aniseed/plugin/aniseed.vim, line 3: Vim(echoerr):E121: Undefined variable: vim
stack traceback:
[C]: in function 'init'
[string ":lua"]:1: in main chunk
Press ENTER or type command to continue
which is really weird
turns out there are a couple of problems
core
and mapping
in this case) and yet termguicolors
must be set before pluginsif false
(fn setup [...]
(when false ;; <----- right here
(let [in [...]]
(let [name (. in 1)
plugin (safe-require name)]
(when plugin
(if (= 2 (length in))
(let [arg (. in 2)]
(plugin.setup arg))
(plugin.setup)))))))
this was solved in 9834d07690362c896565782d134b56215599c131
4. for some reason `zbirenbaum/copilot.lua` is installed at `~/.local/share/nvim/site/pack/packer/opt/` nothing that a raw `mv ~/.local/share/nvim/site/pack/packer/opt/copilot.lua ~/.local/share/nvim/site/pack/packer/start` can't solve
looks fine now, tested
https://github.com/fedemengo/.dotfiles/tree/main/.config
to ~/.config/nvim
PackerInstall
It's kinda ok, but it always needs a couple of
:PackerInstall
on a brand new setup