浏览代码

use vim for packer compile path

Chris 4 年之前
父节点
当前提交
6f44077836
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lua/plugins.lua

+ 1 - 0
lua/plugins.lua

@@ -16,6 +16,7 @@ end
 
 packer.init {
   -- compile_path = vim.fn.stdpath('data')..'/site/pack/loader/start/packer.nvim/plugin/packer_compiled.vim',
+  compile_path = require("packer.util").join_paths(vim.fn.stdpath('config'), 'plugin', 'packer_compiled.vim'),
   git = {
     clone_timeout = 300
   },