mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
change location of packer_compiled.lua
Putting this file under ~/.config/nvim/plugin may cause problems since script under plugin/ will be loaded automatically.
This commit is contained in:
parent
62b6226520
commit
2a0a92f134
@ -22,6 +22,7 @@ end
|
||||
|
||||
-- Load packer.nvim
|
||||
vim.cmd("packadd packer.nvim")
|
||||
local util = require('packer.util')
|
||||
|
||||
require("packer").startup({
|
||||
function(use)
|
||||
@ -318,8 +319,11 @@ require("packer").startup({
|
||||
end,
|
||||
config = {
|
||||
max_jobs = 16,
|
||||
compile_path = util.join_paths(vim.fn.stdpath('config'), 'lua', 'packer_compiled.lua'),
|
||||
git = {
|
||||
default_url_format = plug_url_format,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
require('packer_compiled')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user