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

Multiple modifications to improve snapshot functionality and user autocmds #1193

Closed Bekaboo closed 1 year ago

Bekaboo commented 1 year ago

These commits mainly aims to:

  1. Improve the functionality of snapshots
  2. Add more user autocmds
  3. Echo informative messages when a Packer* command is finished

For the first point, now packer are capable to:

image More human-redable

image Clearer version control

The the second point:

For the third point:

Some side notes: thank you for this awesome plugin, I've used it for over a year and love it. For me it is the fastest package manager since I can disable packer itself and only load the compiled file if it is there. Taking advantage of this feature packer is noticeably faster than lazy.nvim (15 ~ 25ms for packer and 25~35ms for lazy.nvim, though both is fast enough). Use packer as a 'compiler' also means that the startup time will not increase when the config file is broken into smaller files, as long as the specs are the same. Hoping packer keep thriving and keep fast in the future :)

Bekaboo commented 1 year ago

Sorry, forget to mention that commit 2090053 has breaking change (remove PackerComplete). We can easily add it back if necessary, though.