Hi,
The help for the options 'formatexpr', 'formatoptions', 'formatlistpat' and
'formatprg' in options.txt is not alphabetically sorted. The attached
patch fixes this ordering issue.
- Yegappan
--
--
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/options.txt b/runtime/doc/options.txt
index fbeeb9e..f33a0b6 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3337,49 +3337,6 @@ A jump table for the options with a short description
can be found at |Q_op|.
It is not allowed to change text or jump to another window while
evaluating 'foldtext' |textlock|.
- *'formatoptions'* *'fo'*
-'formatoptions' 'fo' string (Vim default: "tcq", Vi default: "vt")
- local to buffer
- {not in Vi}
- This is a sequence of letters which describes how automatic
- formatting is to be done. See |fo-table|. When the 'paste' option is
- on, no formatting is done (like 'formatoptions' is empty). Commas can
- be inserted for readability.
- To avoid problems with flags that are added in the future, use the
- "+=" and "-=" feature of ":set" |add-option-flags|.
- NOTE: This option is set to the Vi default value when 'compatible' is
- set and to the Vim default value when 'compatible' is reset.
-
- *'formatlistpat'* *'flp'*
-'formatlistpat' 'flp' string (default: "^\s*\d\+[\]:.)}\t ]\s*")
- local to buffer
- {not in Vi}
- A pattern that is used to recognize a list header. This is used for
- the "n" flag in 'formatoptions'.
- The pattern must match exactly the text that will be the indent for
- the line below it. You can use |/\ze| to mark the end of the match
- while still checking more characters. There must be a character
- following the pattern, when it matches the whole line it is handled
- like there is no match.
- The default recognizes a number, followed by an optional punctuation
- character and white space.
-
- *'formatprg'* *'fp'*
-'formatprg' 'fp' string (default "")
- global
- {not in Vi}
- The name of an external program that will be used to format the lines
- selected with the |gq| operator. The program must take the input on
- stdin and produce the output on stdout. The Unix program "fmt" is
- such a program.
- If the 'formatexpr' option is not empty it will be used instead.
- Otherwise, if 'formatprg' option is an empty string, the internal
- format function will be used |C-indenting|.
- Environment variables are expanded |:set_env|. See |option-backslash|
- about including spaces and backslashes.
- This option cannot be set from a |modeline| or in the |sandbox|, for
- security reasons.
-
*'formatexpr'* *'fex'*
'formatexpr' 'fex' string (default "")
local to buffer
@@ -3415,6 +3372,49 @@ A jump table for the options with a short description
can be found at |Q_op|.
modeline, see |sandbox-option|. That stops the option from working,
since changing the buffer text is not allowed.
+ *'formatlistpat'* *'flp'*
+'formatlistpat' 'flp' string (default: "^\s*\d\+[\]:.)}\t ]\s*")
+ local to buffer
+ {not in Vi}
+ A pattern that is used to recognize a list header. This is used for
+ the "n" flag in 'formatoptions'.
+ The pattern must match exactly the text that will be the indent for
+ the line below it. You can use |/\ze| to mark the end of the match
+ while still checking more characters. There must be a character
+ following the pattern, when it matches the whole line it is handled
+ like there is no match.
+ The default recognizes a number, followed by an optional punctuation
+ character and white space.
+
+ *'formatoptions'* *'fo'*
+'formatoptions' 'fo' string (Vim default: "tcq", Vi default: "vt")
+ local to buffer
+ {not in Vi}
+ This is a sequence of letters which describes how automatic
+ formatting is to be done. See |fo-table|. When the 'paste' option is
+ on, no formatting is done (like 'formatoptions' is empty). Commas can
+ be inserted for readability.
+ To avoid problems with flags that are added in the future, use the
+ "+=" and "-=" feature of ":set" |add-option-flags|.
+ NOTE: This option is set to the Vi default value when 'compatible' is
+ set and to the Vim default value when 'compatible' is reset.
+
+ *'formatprg'* *'fp'*
+'formatprg' 'fp' string (default "")
+ global
+ {not in Vi}
+ The name of an external program that will be used to format the lines
+ selected with the |gq| operator. The program must take the input on
+ stdin and produce the output on stdout. The Unix program "fmt" is
+ such a program.
+ If the 'formatexpr' option is not empty it will be used instead.
+ Otherwise, if 'formatprg' option is an empty string, the internal
+ format function will be used |C-indenting|.
+ Environment variables are expanded |:set_env|. See |option-backslash|
+ about including spaces and backslashes.
+ This option cannot be set from a |modeline| or in the |sandbox|, for
+ security reasons.
+
*'fsync'* *'fs'* *'nofsync'* *'nofs'*
'fsync' 'fs' boolean (default on)
global