Hello Vim Developers,
The help files specifies (see :help modeline):
-----------------------------------------------------------------------------
There are two forms of modelines. The first form:
[text]{white}{vi:|vim:|ex:}[white]{options}
[text] any text or empty
{white} at least one blank character (<Space> or <Tab>)
{vi:|vim:|ex:} the string "vi:", "vim:" or "ex:"
[white] optional white space
{options} a list of option settings, separated with white space or ':',
where each part between ':' is the argument for a ":set"
command
-----------------------------------------------------------------------------
Yet most of the distributed help files fail to follow this
format (and are note second form).
Most end with a ':' which does not appear to be permitted
above.
Others start with 'vim:' without the mandatory white space
preceding it.
Perhaps the docs should mention that {white} is optional if
[text] is empty - if that is true. And a trailing ':' is
permitted.
Also, for the second form, the same comment applies to its
{white}. It should also be mentioned that the mandatory ':'
is preceded by [white] (optional white space).
--
Best regards,
Bill