packer.nvim
packer.nvim copied to clipboard
README: add Lua example code for auto-running PackerCompile
Many users come to Packer because they can then migrate to a complete Lua-based config for NeoVim.
Thus it makes sense to have a code example not only in Vimscript for auto-running PackerCompile on changes to plugins.lua but also an example in Lua.
Reference: https://neovim.io/doc/user/lua-guide.html#lua-guide-autocommands-group