From c51f8cd8b03ced2300adb1501c8830009a1e5df0 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 11 Aug 2022 03:43:01 +0200 Subject: [PATCH] nvim: plugins: clean up --- .config/nvim/lua/plugins.lua | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 1193970..23c589d 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -10,16 +10,8 @@ packer.init() packer.use 'https://github.com/wbthomason/packer.nvim' --- source file, install new plugins and compile when config file is written +-- source file and compile plugins when config file is written vim.api.nvim_create_augroup('packer_user_config', { clear = true }) --- vim.api.nvim_create_autocmd( --- { 'User' }, --- { --- group = 'packer_user_config', --- pattern = 'PackerComplete', --- command = [[PackerCompile']] --- } --- ) vim.api.nvim_create_autocmd( { 'BufWritePost' }, { @@ -29,7 +21,7 @@ vim.api.nvim_create_autocmd( -- exclude plugins.lua, because that would re-init packer if (not vim.api.nvim_buf_get_name(0):match('plugins.lua$')) then vim.cmd([[ - echo 'reloading config file…' + echom 'reloading config file…' source PackerCompile redraw