dotfiles/nvim/init.vim

9 lines
344 B
VimL

let s:my_config_dir = expand('<sfile>:p:h')
for s:name in ['plugins', 'editing', 'interface', 'colorscheme', 'files', 'completion', 'terminal', 'git']
execute 'source' fnameescape(s:my_config_dir.'/lib/'.s:name.'.vim')
endfor
for s:path in globpath(s:my_config_dir.'/lib/languages', '*', 0, 1)
execute 'source' fnameescape(s:path)
endfor