Execute ( SpaceVim syntax file ): let cmp = SpaceVim#api#import('vim#compatible') for sfile in cmp.globpath(getcwd(), "syntax/*.vim") exe 'so ' . sfile unlet sfile endfor unlet cmp