dotfiles/.config/nvim/lua/auto.lua
Ben Vincent 27e3b132a8 Initial commit for dotfiles
Setting up dotfiles with yadm
2022-08-26 22:09:22 +09:30

10 lines
199 B
Lua

--[[ auto.lua ]]
-- run PackerInstall when plugins file saved
vim.cmd([[
augroup packer_user_config
autocmd!
autocmd BufWritePost plug.lua source <afile> | PackerInstall
augroup end
]])