mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 05:00:03 +08:00
27 lines
492 B
Plaintext
27 lines
492 B
Plaintext
|
set nocompatible
|
||
|
|
||
|
" load match-up
|
||
|
let s:path = simplify(expand('<sfile>:h').'/../..')
|
||
|
let &rtp = s:path.',' . &rtp
|
||
|
let &rtp .= ',vader.vim'
|
||
|
let &rtp .= ','.s:path.'/after'
|
||
|
|
||
|
" rtp for testing files
|
||
|
let &rtp = s:path.'/test/rtp,' . &rtp
|
||
|
|
||
|
" load other plugins, if necessary
|
||
|
" let &rtp = '~/path/to/other/plugin,' . &rtp
|
||
|
|
||
|
if empty(globpath(&rtp, 'plugin/vader.vim'))
|
||
|
echoerr 'vader not found'
|
||
|
exit!
|
||
|
endif
|
||
|
|
||
|
filetype plugin indent on
|
||
|
syntax enable
|
||
|
|
||
|
set notimeout
|
||
|
|
||
|
" match-up options go here
|
||
|
|