Tuesday, January 26, 2010

Re: How to get vim patch version number in vim script?

Sorry, prematurely posted. Along the lines of

if !has("visual")
echo "Tiny"
elseif !has("eval")
echo "Small"
elseif !has("arabic")
echo "Normal"
elseif !has("profile")
echo "Big"
else
echo "Huge"
endif

To me, the above clearly shows the clunkiness of the approach, I only
did it for fun.

Regards, John

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: