diff options
Diffstat (limited to 'lua/plugins.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'), }, }) |
