diff options
| author | jdhao <jdhao@hotmail.com> | 2019-12-08 23:18:30 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2019-12-08 23:18:30 +0800 |
| commit | 5d1b59073b90949c00ceb0baca41f78555740f34 (patch) | |
| tree | 9f2a6fc9df49bc95b7345d4100a9091dce990eaa | |
| parent | 638df7f50941243f7871414358947c72792abae7 (diff) | |
Turn global variable to local
A variable without scope is global by default, see http://rbtnn.hateblo.jp/entry/2014/12/28/010913
| -rw-r--r-- | init.vim | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,8 +72,8 @@ let g:config_file_list = ['variables.vim', \ 'ui.vim' \ ] -for f in g:config_file_list - execute 'source ' . g:nvim_config_root . '/' . f +for s:fname in g:config_file_list + execute 'source ' . g:nvim_config_root . '/' . s:fname endfor "} |
