modeline documentation is misleading

121 visningar
Hoppa till det första olästa meddelandet

Bruno Bronosky

oläst,
11 apr. 2017 11:31:522017-04-11
till vim...@vim.org

The second form (this is compatible with some versions of Vi):



se[t] the string "set " or "se " (note the space); When
"Vim" is used it must be "set".


The first line came in with v7. The last line was added many (7+?) years later. I'd like to change the first line to say...


The second form (this is compatible with some pre-7.0 versions of Vi):



.!# BrunoBronosky #!.

Ben Fritz

oläst,
13 apr. 2017 10:26:292017-04-13
till vim_dev, vim...@vim.org

Vi is not the same as Vim. The second form works in all versions of Vim.

Tony Mechelynck

oläst,
14 apr. 2017 16:26:092017-04-14
till vim_dev, vim-dev
Both forms existed long before Vim 7: when I first used Vim (vim 6.1)
they already existed with the exact same help text, and I believe that
Vim 5 or earlier already had them too. "vi" in this paragraph means,
not "Vim when named vi" and not "vim when 'compatible' is set" but
"legacy vi, the earlier program, not by Bram Moolenaar". "pre-7.0" has
no meaning by respect to legacy vi, whose versioning system has
nothing in common with Vim's.

Best regards,
Tony.
Svara alla
Svara författaren
Vidarebefordra
0 nya meddelanden