Mercurial > vim
changeset 33752:a141a8fb99b1
runtime(doc): clarify when formatoptions applies
Commit: https://github.com/vim/vim/commit/1b08d2cd0789fd9aaae148a64ff46342730022d7
Author: Christian Brabandt <cb@256bit.org>
Date: Sat Nov 11 15:50:13 2023 +0100
runtime(doc): clarify when formatoptions applies
closes: https://github.com/vim/vim/issues/13503
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 11 Nov 2023 16:00:04 +0100 |
parents | 7f15cfe11f8d |
children | 0839c759c9d1 |
files | runtime/doc/options.txt |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 9.0. Last change: 2023 Nov 06 +*options.txt* For Vim version 9.0. Last change: 2023 Nov 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3791,9 +3791,10 @@ A jump table for the options with a shor 'formatoptions' 'fo' string (Vim default: "tcq", Vi default: "vt") local to buffer 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. + formatting is to be done. + See |fo-table| for possible values and |gq| for how to format text. + 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