mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Turn global variable to local
A variable without scope is global by default, see http://rbtnn.hateblo.jp/entry/2014/12/28/010913
This commit is contained in:
@@ -72,8 +72,8 @@ let g:config_file_list = ['variables.vim',
|
|||||||
\ 'ui.vim'
|
\ 'ui.vim'
|
||||||
\ ]
|
\ ]
|
||||||
|
|
||||||
for f in g:config_file_list
|
for s:fname in g:config_file_list
|
||||||
execute 'source ' . g:nvim_config_root . '/' . f
|
execute 'source ' . g:nvim_config_root . '/' . s:fname
|
||||||
endfor
|
endfor
|
||||||
"}
|
"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user