set nocompatible " load match-up let s:path = simplify(expand(':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