diff options
| author | jdhao <jdhao@hotmail.com> | 2022-07-28 01:22:10 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-07-28 01:22:10 +0800 |
| commit | 3af7dd51b842000112cecda4f74df8fd0dc8df79 (patch) | |
| tree | a8ac5188eb1fb4d1dfc89effd36352a07bae5111 /lua | |
| parent | e0fc068f2ef89f8b1ea990202ce6d865c14e0d60 (diff) | |
update packer config
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index fe83d93..39304db 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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'), }, }) |
