mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
remove global setting since it is not used anyway
This commit is contained in:
parent
2cbd9619e7
commit
c6b71c1dea
12
init.vim
12
init.vim
@ -54,18 +54,6 @@ let g:is_win = has('win32') || has('win64')
|
||||
let g:is_linux = has('unix') && !has('macunix')
|
||||
let g:is_mac = has('macunix')
|
||||
|
||||
" 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.
|
||||
let g:nvim_system_wide=0
|
||||
|
||||
" Do not set this varialbe if the system is not *nix
|
||||
if g:nvim_system_wide
|
||||
if !g:is_linux
|
||||
let g:nvim_system_wide = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
let g:nvim_config_root = expand('<sfile>:p:h')
|
||||
|
||||
let g:config_file_list = ['variables.vim',
|
||||
|
||||
@ -27,13 +27,8 @@ if g:is_win || g:is_mac
|
||||
endif
|
||||
endif
|
||||
|
||||
" Set up directory to install the plugins based on whether you are installing
|
||||
" neovim system wide or for personal use.
|
||||
if g:nvim_system_wide
|
||||
let g:PLUGIN_HOME="/usr/local/share/nvim/site"
|
||||
else
|
||||
let g:PLUGIN_HOME=expand(stdpath('data') . '/plugged')
|
||||
endif
|
||||
" The directory to install plugins.
|
||||
let g:PLUGIN_HOME=expand(stdpath('data') . '/plugged')
|
||||
"}}
|
||||
|
||||
"{{ Autocompletion related plugins
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user