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:
parent
0477364023
commit
82212af82e
@ -43,7 +43,7 @@ let g:semshi#mark_selected_nodes=0
|
|||||||
let g:semshi#error_sign=v:false
|
let g:semshi#error_sign=v:false
|
||||||
|
|
||||||
"""""""""""""""""""""""""" vlime settings """"""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""" vlime settings """"""""""""""""""""""""""""""""
|
||||||
command! -nargs=0 StartVlime call jobstart(printf("sbcl --load %s/vlime/lisp/start-vlime.lisp", g:plug_home))
|
command! -nargs=0 StartVlime call jobstart(printf("sbcl --load %s/vlime/lisp/start-vlime.lisp", g:package_home))
|
||||||
|
|
||||||
"}}
|
"}}
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
local utils = require("utils")
|
local utils = require("utils")
|
||||||
local fn = vim.fn
|
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 = ""
|
local plug_url_format = ""
|
||||||
if vim.g.is_linux then
|
if vim.g.is_linux then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user