packer.nvim icon indicating copy to clipboard operation
packer.nvim copied to clipboard

README: add Lua example code for auto-running PackerCompile

Open erikw opened this issue 2 years ago • 0 comments

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

erikw avatar Mar 11 '23 18:03 erikw