Ver código fonte

use vim for packer compile path

Chris 4 anos atrás
pai
commit
6f44077836
1 arquivos alterados com 1 adições e 0 exclusões
  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
   },