Explorar o código

use vim for packer compile path

Chris %!s(int64=4) %!d(string=hai) anos
pai
achega
6f44077836
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lua/plugins.lua

+ 1 - 0
lua/plugins.lua

@@ -16,6 +16,7 @@ end
 
 
 packer.init {
 packer.init {
   -- compile_path = vim.fn.stdpath('data')..'/site/pack/loader/start/packer.nvim/plugin/packer_compiled.vim',
   -- 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 = {
   git = {
     clone_timeout = 300
     clone_timeout = 300
   },
   },