":help modeline" says:
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 (can be empty)
Note that the initial white space is not optional. However, that
initial white space is not actually required. For example, create
a file containing only the line
vim: tw=40
left justified, open it with
$ vim -N -u NONE demo
and execute:
:verbose set tw?
textwidth=40
Last set from modeline line 1
I don't particularly care whether the documentation or the behavior
is changed, but one should be to match the other.
I tested this using 8.1.2397.
Regards,
Gary
--
--
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/20191206025128.GA25379%40phoenix.