It is better to check for a patch directly: has('patch-8.1.1518'). It's
plausible someone would build with a subset of patches (and neovim does
this).
On Thu, Jun 13, 2019, 12:26 PM Paul Jolly <[email protected]> wrote:
> >> I'd like to propose a version() function (or variable I guess?) that
> >> returns a string that is the semver version of Vim, i.e. v8.1.1518
> >
> > Sounds like you're looking for the v:version variable.
>
> Thanks. I'd see that, but it does not include the patch information,
> i.e. 801, unless I'm missing something obvious?
>
> Ideally, I think we should have a direct means to get at the semver
> version of Vim.
>
> --
> --
> You received this message from the "vim_dev" 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_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_dev/CACoUkn4X-Ag%3DkMrvBEeHRMu4rtuhm2REwWnvfeZugZEnJtbSDA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CAL%2BVoZ6Rvg5LH24qtL9NQXfkS3L_HVPq7W788h9WChq5XCsU_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.