Update plugins.lua

pull/198/head
REmerald 2 years ago committed by GitHub
parent 23778b1f65
commit 38a88ca3bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ end
local au_packer = vim.api.nvim_create_augroup("packer_autoconf", {clear = true}) local au_packer = vim.api.nvim_create_augroup("packer_autoconf", {clear = true})
vim.api.nvim_create_autocmd( vim.api.nvim_create_autocmd(
"BufWritePost", {group = au_packer, pattern = "plugins.lua", "BufWritePost", {group = au_packer, pattern = "plugins.lua",
command = "source <afile> <Bar> PackerSync", command = "source <afile> | PackerSync",
desc = "Reloads nvim when you save plugins.lua"} desc = "Reloads nvim when you save plugins.lua"}
) )

Loading…
Cancel
Save