summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.vim/init.lua2
-rw-r--r--.vim/lua/plugins.lua1
2 files changed, 1 insertions, 2 deletions
diff --git a/.vim/init.lua b/.vim/init.lua
index d56d1c7..43a5d6d 100644
--- a/.vim/init.lua
+++ b/.vim/init.lua
@@ -94,7 +94,7 @@ u.augroup2 {
   },
   c_makeprg = {{'BufRead', '*.c', [[ set makeprg=ninja\ -C\ build ]]}},
   open_qf = {{'QuickFixCmdPost', '*', [[ :clist ]]}},
-  -- packer_auto_compile = {{'BufWritePost', 'plugins.lua', [[ source <afile> | PackerCompile ]]}},
+  packer_auto_compile = {{'BufWritePost', 'plugins.lua', [[ PackerCompile ]]}},
   commentstring = {
     {'FileType', 'i3config', [[ setlocal commentstring=#\ %s ]]},
     {'FileType', 'jsonc', [[ setlocal commentstring=//\ %s ]]},
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua
index cb8bdb1..425c2ca 100644
--- a/.vim/lua/plugins.lua
+++ b/.vim/lua/plugins.lua
@@ -1,7 +1,6 @@
 -- vim: foldenable
 -- load by calling `lua require('plugins')` from your init.vim
 local g = vim.g
-local u = require('utils')
 
 -- force packer into a system directory
 local sysdata = vim.fn.stdpath('data_dirs')[1]