Hirohito Higashi wrote:

> The following documents sets 'formatoptions' in modeline.
> 
>     runtime/doc/help.txt
>     runtime/doc/os_390.txt
>     runtime/doc/os_win32.txt
> 
>         "fo=tcq2:"
> 
> Even if write "set fo+=mM" in my .vimrc, it will be overwritten with
> this modeline.
> When I apply this modeline to a doc/*.txt translated file (e.g.
> *.jax), It will not work well for editing.
> So I currently applied the exclude "fo=tcq2:" from modeline.
> If possible, I want to prevent the difference of modeline between .txt
> and .jax.
> 
> Could you change "fo=tcq2:" to "fo+=2:" ?
> Please include an attached patch.

I think we can leave out setting 'fo' completely.  It's already set from
the help ftplugin (which you can overrule) and the "2" isn't really
needed for these files.  It's only needed for a paragraph style where
the second line has a different indent from the first line, which I
don't see in these files.


-- 
hundred-and-one symptoms of being an internet addict:
152. You find yourself falling for someone you've never seen or hardly
     know, but, boy can he/she TYPE!!!!!!

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui