Monday, May 13, 2019

Re: Vim version details

i do it the brittle way

On Mon, May 13, 2019 at 10:38 AM Paul Jolly <paul@myitcv.org.uk> wrote:
>
> Hi all,
>
> I've tried searching using various terms, but I can't find anything specific on this question.
>
> Is there a way to get the Vim version number, short of redirecting the output of :version to a variable?
>
> I want the major, minor and patch details to ultimately build a semver version.
>
> I can obviously parse the output of :version (having first redirected it to a variable) but first wanted to check if there was a simpler (less brittle?) way.
>
> Thanks in advance.
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/3d8f388c-c5a5-4fa1-986f-81a17aaee28b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CALfSX1xjGwP7oyn9pCF439k98FiGv6Jkty%2BqGa7nvXSaBLcD-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment