[EMAIL PROTECTED] wrote:
Hi,

I stumbled upon a grammar mistake in the user manual,
in section "21.6 Modelines" (:help 21.6). Here is a correction.

Cheers
/Dominique

$ svn diff runtime/doc/usr_21.txt
Index: runtime/doc/usr_21.txt
===================================================================
--- runtime/doc/usr_21.txt      (revision 185)
+++ runtime/doc/usr_21.txt      (working copy)
@@ -432,9 +432,9 @@
 The "any-text" indicates that you can put any text before and after the part
 that Vim will use.  This allows making it look like a comment, like what was
 done above with /* and */.
-   The " vim:" part is what makes Vim recognize this line.  The must be white
-space before "vim", or "vim" must be at the start of the line.  Thus using
-something like "gvim:" will not work.
+   The " vim:" part is what makes Vim recognize this line.  There must be a
+white space before "vim", or "vim" must be at the start of the line.  Thus
+using something like "gvim:" will not work.
    The part between the colons is a ":set" command.  It works the same way as
 typing the ":set" command, except that you need to insert a backslash before a
 colon (otherwise it would be seen as the end of the modeline).


Did you check with the latest version of ftp://pub/vim/runtime/doc/usr_21.txt ?

I have:

  1 *usr_21.txt*        For Vim version 7.0.  Last change: 2006 Jun 21
...
435    The " vim:" part is what makes Vim recognize this line.  There must be
436 white space before "vim", or "vim" must be at the start of the line.  Thus
437 using something like "gvim:" will not work.

where "there must be white space" is valid English syntax for "there must be some white space": 'Il doit y avoir du blanc avant "vim", à moins que "vim" ne soit au début de la ligne.'


Best regards,
Tony.

Reply via email to