From 2494009885b6d8073017ee3c7e16bcc1796c4c99 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 12 Nov 2023 07:49:57 +0800 Subject: vim-patch:1b08d2cd0789 (#25993) runtime(doc): clarify when formatoptions applies closes: vim/vim#13503 https://github.com/vim/vim/commit/1b08d2cd0789fd9aaae148a64ff46342730022d7 Co-authored-by: Christian Brabandt --- src/nvim/options.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/nvim/options.lua') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 47cb8e7912..40817c8ccc 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -3246,8 +3246,9 @@ return { defaults = { if_true = macros('DFLT_FO_VIM') }, desc = [=[ This is a sequence of letters which describes how automatic - formatting is to be done. See |fo-table|. Commas can be inserted for - readability. + formatting is to be done. + See |fo-table| for possible values and |gq| for how to format text. + 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|. ]=], -- cgit