mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
33 lines
726 B
VimL
33 lines
726 B
VimL
let g:Config_Main_Home = fnamemodify(expand('<sfile>'), ':p:h:gs?\\?'.((has('win16') || has('win32') || has('win64'))?'\':'/') . '?')
|
|
|
|
try
|
|
call zvim#util#source_rc('functions.vim')
|
|
catch
|
|
execute 'set rtp +=' . fnamemodify(g:Config_Main_Home, ':p:h:h')
|
|
call zvim#util#source_rc('functions.vim')
|
|
endtry
|
|
|
|
call SpaceVim#init()
|
|
|
|
call zvim#util#source_rc('init.vim')
|
|
|
|
call SpaceVim#default()
|
|
|
|
call SpaceVim#loadCustomConfig()
|
|
|
|
call SpaceVim#end()
|
|
|
|
call zvim#util#source_rc('plugins.vim')
|
|
|
|
call zvim#util#source_rc('general.vim')
|
|
|
|
call zvim#util#source_rc('mappings.vim')
|
|
|
|
call zvim#util#source_rc('autocmds.vim')
|
|
|
|
if has('nvim')
|
|
call zvim#util#source_rc('neovim.vim')
|
|
endif
|
|
|
|
call zvim#util#source_rc('commands.vim')
|