dotfiles/nvim/init.vim

12 lines
383 B
VimL
Raw Normal View History

let s:my_config_dir = expand('<sfile>:p:h')
2019-06-20 23:27:47 +00:00
let g:vim_ide = get(g:, 'vim_ide', 0)
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