let g:nvim_config_root = stdpath('config') let g:config_file_list = [ \ 'plugins.vim', \ 'options.vim', \ 'mappings.vim', \ 'functions.vim', \ 'pluginoptions.vim', \ ] for f in g:config_file_list execute 'source ' . g:nvim_config_root . '/' . f endfor