1
0
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:
jdhao 2022-07-28 01:22:10 +08:00
parent e0fc068f2e
commit 3af7dd51b8

View File

@ -15,9 +15,11 @@ end
-- Load 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)
-- it is recommened to put impatient.nvim before any other plugins
use {'lewis6991/impatient.nvim', config = [[require('impatient')]]}
@ -361,7 +363,7 @@ require("packer").startup({
end,
config = {
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'),
},
})