mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
fix package root directory issue
Expose a new global variable package_home.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
local utils = require("utils")
|
||||
local fn = vim.fn
|
||||
|
||||
local packer_install_dir = fn.stdpath("data") .. "/site/pack/packer/opt/packer.nvim"
|
||||
vim.g.package_home = fn.stdpath("data") .. "/site/pack/packer/"
|
||||
local packer_install_dir = vim.g.package_home .. "/opt/packer.nvim"
|
||||
|
||||
local plug_url_format = ""
|
||||
if vim.g.is_linux then
|
||||
|
||||
Reference in New Issue
Block a user