Command :version should show major.minor.patch

13 views
Skip to first unread message

JohnBeckett

unread,
Aug 2, 2021, 1:16:33 AM8/2/21
to vim_dev
It is convenient to say that Vim version 8.2.x is needed for a particular feature, but someone not familiar with Vim conventions may not know what the "x" means. I propose that, if "Included patches" is a range such as "1-3273", :version should show:

    VIM - Vi IMproved 8.2.3273 (...)
    ...
    Included patches: 1-3273

instead of:

    VIM - Vi IMproved 8.2 (...)
    ...
    Included patches: 1-3273

If included patches is not a contiguous range, just show 8.2 as is done currently.

John

Bram Moolenaar

unread,
Aug 2, 2021, 12:08:06 PM8/2/21
to vim...@googlegroups.com, JohnBeckett
Since the date that follows is for 8.2, it might be a bit confusing.
I don't think many people would have trouble understanding that the
third number is the patch level. I mean, in a time were people refer to
changes by their commit hash...

--
Luxury. We used to have to get out of the lake at three o'clock in the
morning, clean the lake, eat a handful of hot gravel, go to work at the
mill every day for tuppence a month, come home, and Dad would beat us
around the head and neck with a broken bottle, if we were LUCKY!

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages