A.J.Mechelynck wrote:
> I notice that the scripts autoload/pythoncomplete.vim and
> autoload/rubycomplete.vim terminate early and with error if the
> corresponding interface is not compiled-in. Is that intentional? I
> would expect to be able to _edit_ (for instance) a python script even
> on a Vim version which cannot _run_ python commands.
>
if !has('ruby')
s:ErrMsg( "Error: Required vim compiled with +ruby" )
finish
endif
if version < 700
s:ErrMsg( "Error: Required vim >= 7.0" )
finish
endif
Vim continues to run.
--mark
--
sic transit gloria et adulescentia
blog | http://blog.hasno.info/blog
wiki | http://wiki.hasno.info