1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:30:04 +08:00
SpaceVim/config/main.vim
2016-12-26 21:11:19 +08:00

28 lines
684 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 zvim#util#source_rc('init.vim')
scriptencoding utf-8
call zvim#util#source_rc('local.vim')
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')