Hi Bram and list,
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.
--
Best regards,
Hirohito Higashi (h_east)
--
--
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].
For more options, visit https://groups.google.com/d/optout.
diff --git a/runtime/doc/help.txt b/runtime/doc/help.txt
index 239de9d81..6a658af78 100644
--- a/runtime/doc/help.txt
+++ b/runtime/doc/help.txt
@@ -225,4 +225,4 @@ will try to find help for it. Especially for options in single quotes, e.g.
'compatible'.
------------------------------------------------------------------------------
- vim:tw=78:fo=tcq2:isk=!-~,^*,^\|,^\":ts=8:noet:ft=help:norl:
+ vim:tw=78:fo+=2:isk=!-~,^*,^\|,^\":ts=8:noet:ft=help:norl:
diff --git a/runtime/doc/os_390.txt b/runtime/doc/os_390.txt
index ab88cc671..7f049841c 100644
--- a/runtime/doc/os_390.txt
+++ b/runtime/doc/os_390.txt
@@ -131,4 +131,4 @@ Also look at:
------------------------------------------------------------------------------
- vim:tw=78:fo=tcq2:ts=8:noet:ft=help:norl:
+ vim:tw=78:fo+=2:ts=8:noet:ft=help:norl:
diff --git a/runtime/doc/os_win32.txt b/runtime/doc/os_win32.txt
index 9a5f748af..d90dba279 100644
--- a/runtime/doc/os_win32.txt
+++ b/runtime/doc/os_win32.txt
@@ -303,4 +303,4 @@ A. Yes, place your favorite icon in bitmaps/vim.ico in a directory of
'runtimepath'. For example ~/vimfiles/bitmaps/vim.ico.
- vim:tw=78:fo=tcq2:ts=8:noet:ft=help:norl:
+ vim:tw=78:fo+=2:ts=8:noet:ft=help:norl: