Chris 4 سال پیش
والد
کامیت
7f8fb0135a
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      lua/plugins.lua

+ 2 - 2
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