diff --git a/init.vim b/init.vim index ad4c013..152ef0d 100644 --- a/init.vim +++ b/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(':p:h') let g:config_file_list = ['variables.vim', diff --git a/plugins.vim b/plugins.vim index 22e11b9..fe548a1 100644 --- a/plugins.vim +++ b/plugins.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