refactor: rename variable from util to packer_util
This commit is contained in:
parent
46ee50eff4
commit
7881ea0843
6
init.lua
6
init.lua
@ -12,15 +12,15 @@ local status_ok, packer = pcall(require, "packer")
|
|||||||
if not status_ok then
|
if not status_ok then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local status_util_ok, util = pcall(require, "packer.util")
|
local status_util_ok, packer_util = pcall(require, "packer.util")
|
||||||
if not status_util_ok then
|
if not status_util_ok then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Have packer use a popup window
|
-- Have packer use a popup window
|
||||||
packer.init({
|
packer.init({
|
||||||
package_root = util.join_paths(vim.fn.stdpath('data'), 'site', 'pack'),
|
package_root = packer_util.join_paths(vim.fn.stdpath('data'), 'site', 'pack'),
|
||||||
compile_path = util.join_paths(vim.fn.stdpath('data'), 'site', 'plugin', 'packer_compiled.lua'),
|
compile_path = packer_util.join_paths(vim.fn.stdpath('data'), 'site', 'plugin', 'packer_compiled.lua'),
|
||||||
})
|
})
|
||||||
|
|
||||||
packer.startup(function(use)
|
packer.startup(function(use)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user