summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris <[email protected]>2021-03-16 23:11:27 -0400
committerChris <[email protected]>2021-03-16 23:11:27 -0400
commit7f8fb0135a8bf9fa2a67118f57110e130e91b4cf (patch)
treeb49d5ffe49e6068260cc3cde84a0b8478edc6580
parentbe6c6ca92fa9e1f596bfaef0c1197b7144d70036 (diff)
update
-rw-r--r--lua/plugins.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index e78e0788..8f037618 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -1,17 +1,17 @@
-vim.cmd [[packadd packer.nvim]]
local execute = vim.api.nvim_command
local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim'
-
if fn.empty(fn.glob(install_path)) > 0 then
execute('!git clone https://github.com/wbthomason/packer.nvim '..install_path)
execute 'packadd packer.nvim'
end
+vim.cmd [[packadd packer.nvim]]
+
-- vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua