2019-08-24 16:05:09 +00:00
|
|
|
let g:nvim_dotfiles_dir = expand('<sfile>:p:h')
|
2019-04-21 11:42:15 +00:00
|
|
|
|
2019-06-20 23:27:47 +00:00
|
|
|
let g:vim_ide = get(g:, 'vim_ide', 0)
|
|
|
|
|
2019-09-05 21:37:09 +00:00
|
|
|
let &runtimepath = g:nvim_dotfiles_dir.','.&runtimepath
|
|
|
|
|
|
|
|
for s:name in ['plugins', 'editing', 'interface', 'files', 'completion', 'terminal', 'git']
|
2019-08-24 16:05:09 +00:00
|
|
|
execute 'source' fnameescape(g:nvim_dotfiles_dir.'/lib/'.s:name.'.vim')
|
2019-04-21 11:42:15 +00:00
|
|
|
endfor
|
|
|
|
|
2019-09-05 21:37:09 +00:00
|
|
|
colorscheme dotfiles
|
|
|
|
|
2019-08-24 16:05:09 +00:00
|
|
|
for s:path in globpath(g:nvim_dotfiles_dir.'/lib/languages', '*', 0, 1)
|
2019-04-21 11:42:15 +00:00
|
|
|
execute 'source' fnameescape(s:path)
|
|
|
|
endfor
|