From 63dfd0031c37dbb88d0a11e449e7c0a02abef4e9 Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 30 Sep 2020 15:51:29 +0800 Subject: change custom variable location --- init.vim | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'init.vim') diff --git a/init.vim b/init.vim index 69c6eaf..0807207 100644 --- a/init.vim +++ b/init.vim @@ -50,12 +50,6 @@ "} "{ Main configurations -let g:is_win = has('win32') || has('win64') -let g:is_linux = has('unix') && !has('macunix') -let g:is_mac = has('macunix') - -let g:nvim_config_root = expand(':p:h') - let g:config_file_list = ['variables.vim', \ 'options.vim', \ 'autocommands.vim', @@ -64,6 +58,7 @@ let g:config_file_list = ['variables.vim', \ 'ui.vim' \ ] +let g:nvim_config_root = expand(':p:h') for s:fname in g:config_file_list execute printf('source %s/%s', g:nvim_config_root, s:fname) endfor -- cgit v1.2.3