Don't try to guess class path in jar files

The 'path' is copied in to jar file buffers on arrival.  Don't clobber
it with the $CLASSPATH default.
This commit is contained in:
Tim Pope 2012-12-04 22:32:30 -05:00
parent 208f549664
commit 0df564966f

View File

@ -11,7 +11,10 @@ let g:loaded_foreplay = 1
augroup foreplay_file_type augroup foreplay_file_type
autocmd! autocmd!
autocmd BufNewFile,BufReadPost *.clj setfiletype clojure autocmd BufNewFile,BufReadPost *.clj setfiletype clojure
autocmd FileType clojure let &l:path = classpath#detect() autocmd FileType clojure
\ if expand('%:p') !~# '^zipfile:' |
\ let &l:path = classpath#detect() |
\ endif
augroup END augroup END
" }}}1 " }}}1