mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Update plugin install logic
Only install plugins system-wide if the system is *nix system
This commit is contained in:
parent
098ef4c875
commit
960855931b
11
init.vim
11
init.vim
@ -53,10 +53,13 @@
|
||||
" If you are using Neovim on Linux system and want to set it up system wide
|
||||
" for users, set g:nvim_system_wide to 1. If you only want to use it for
|
||||
" personal need, set this variable to 0.
|
||||
if has('unix')
|
||||
let g:nvim_system_wide = 0
|
||||
else
|
||||
let g:nvim_system_wide = 0
|
||||
let g:nvim_system_wide=0
|
||||
|
||||
" Do not set this varialbe if the system is not *nix
|
||||
if g:nvim_system_wide
|
||||
if !has('unix')
|
||||
let g:nvim_system_wide = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
let g:nvim_config_root = expand('<sfile>:p:h')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user