Thursday, June 17, 2010

alternatives to :finish

I've been looking for a way to make my .vimrc slightly more portable
across machines with variously vendor-crippled vim packages, usually
approximating a "tiny" build. I've tried adding a :finish call before
anything that triggers exceptions, like so:

if !has('eval')
finish
endif

...but it seems that :finish is among the features omitted in some of
these builds! (The call generates an E319.) Are there any similarly
concise alternatives to just wrapping everything in has() blocks?

-Rob

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: