Chris 4 年之前
父節點
當前提交
7c869fc4ff
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lua/plugins.lua

+ 2 - 2
lua/plugins.lua

@@ -3,7 +3,7 @@
 local execute = vim.api.nvim_command
 local fn = vim.fn
 
-local install_path = fn.stdpath('data') .. '/site/pack/packer/opt/packer.nvim'
+local install_path = fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
 
 if fn.empty(fn.glob(install_path)) > 0 then
     execute('!git clone https://github.com/wbthomason/packer.nvim ' .. install_path)
@@ -14,7 +14,7 @@ vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when th
 
 return require('packer').startup(function(use)
     -- Packer can manage itself as an optional plugin
-    use {'wbthomason/packer.nvim', opt = true}
+    use 'wbthomason/packer.nvim'
 
     -- Information
     use 'nanotee/nvim-lua-guide'