aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-07-13 01:34:18 +0800
committerjdhao <jdhao@hotmail.com>2021-07-13 01:34:18 +0800
commit9c434b472e54f653b128f8e89fc7a5520e0201ee (patch)
tree8288913935e700eb07ad550bae43c261921b9ebf /lua
parent64819a99ceb70f09660e550134538d2a662eed26 (diff)
update packer.nvim settings
Change matching pattern so that we do not confuse this plugins.lua with files of the same name in other path.
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 13e1435..fae14fb 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -291,6 +291,6 @@ require('packer').startup(
vim.api.nvim_exec([[
augroup packer_auto_compile
autocmd!
- autocmd BufWritePost plugins.lua source <afile> | PackerCompile | unsilent echomsg 'Packer.nvim settings recompiled!'
+ autocmd BufWritePost */nvim/lua/plugins.lua source <afile> | PackerCompile | unsilent echomsg 'Packer.nvim settings recompiled!'
augroup END
]], false)