|
@@ -1,3 +1,5 @@
|
|
|
|
+vim.cmd [[packadd packer.nvim]]
|
|
|
|
+
|
|
local execute = vim.api.nvim_command
|
|
local execute = vim.api.nvim_command
|
|
local fn = vim.fn
|
|
local fn = vim.fn
|
|
|
|
|
|
@@ -8,8 +10,6 @@ if fn.empty(fn.glob(install_path)) > 0 then
|
|
execute 'packadd packer.nvim'
|
|
execute 'packadd packer.nvim'
|
|
end
|
|
end
|
|
|
|
|
|
-vim.cmd [[packadd packer.nvim]]
|
|
|
|
-
|
|
|
|
vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua
|
|
vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua
|
|
|
|
|
|
return require('packer').startup(function(use)
|
|
return require('packer').startup(function(use)
|