mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update packer config
This commit is contained in:
parent
e0fc068f2e
commit
3af7dd51b8
@ -15,9 +15,11 @@ end
|
|||||||
|
|
||||||
-- Load packer.nvim
|
-- Load packer.nvim
|
||||||
vim.cmd("packadd packer.nvim")
|
vim.cmd("packadd packer.nvim")
|
||||||
local util = require('packer.util')
|
|
||||||
|
|
||||||
require("packer").startup({
|
local packer = require("packer")
|
||||||
|
local packer_util = require('packer.util')
|
||||||
|
|
||||||
|
packer.startup({
|
||||||
function(use)
|
function(use)
|
||||||
-- it is recommened to put impatient.nvim before any other plugins
|
-- it is recommened to put impatient.nvim before any other plugins
|
||||||
use {'lewis6991/impatient.nvim', config = [[require('impatient')]]}
|
use {'lewis6991/impatient.nvim', config = [[require('impatient')]]}
|
||||||
@ -361,7 +363,7 @@ require("packer").startup({
|
|||||||
end,
|
end,
|
||||||
config = {
|
config = {
|
||||||
max_jobs = 16,
|
max_jobs = 16,
|
||||||
compile_path = util.join_paths(fn.stdpath('data'), 'site', 'lua', 'packer_compiled.lua'),
|
compile_path = packer_util.join_paths(fn.stdpath('data'), 'site', 'lua', 'packer_compiled.lua'),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user