wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.72k stars 263 forks source link

Proper step-by-step installation tutorial for initial Packer installation and configuration, with proper and full dependencies #1241

Closed lessing-systems closed 1 year ago

lessing-systems commented 1 year ago

Proper First-steps Installation Tutorial

The README trying to describe the installation process is all mixed up, convoluted and is only generating error after error if you even get that far. Especially since the target audience is usually people that are new to neovim (but not to vim) describing, for example, exactly what "running a snippet" means would me more than helpful.

The example plugins.lua from the README (not even a file in the repo?) is missing dependencies (like luarocks and/or hererocks?) and generates an error: "E5113: Error while calling lua chunk: .../packer/start/nvim-treesitter/plugin/nvim-treesitter.lua:14: attempt to call field 'nvim_create_augroup' (a nil value) stack traceback: .../packer/start/nvim-treesitter/plugin/nvim-treesitter.lua:14: in main chunk"

This is not helpful at all and imho needs reworking to properly onboard new users. Since I can't get it to work I won't be able to contribute that myself. Please add this as a feature, the current situation is just frustrating.