options: Include "j" in default 'formatoptions' #2669

This commit is contained in:
Felipe Morales
2015-05-16 02:23:16 -03:00
committed by Justin M. Keyes
parent 1add7a422f
commit eca51bbfa0
4 changed files with 5 additions and 5 deletions

View File

@@ -1450,9 +1450,8 @@ By default, "b:#" is included. This means that a line that starts with
*fo-table*
You can use the 'formatoptions' option to influence how Vim formats text.
'formatoptions' is a string that can contain any of the letters below. The
default setting is "tcq". You can separate the option letters with commas for
readability.
'formatoptions' is a string that can contain any of the letters below. You
can separate the option letters with commas for readability.
letter meaning when present in 'formatoptions' ~

View File

@@ -2910,7 +2910,7 @@ A jump table for the options with a short description can be found at |Q_op|.
evaluating 'foldtext' |textlock|.
*'formatoptions'* *'fo'*
'formatoptions' 'fo' string (Vim default: "tcq", Vi default: "vt")
'formatoptions' 'fo' string (default: "tcqj", 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

View File

@@ -30,6 +30,7 @@ these differences.
- 'backspace' defaults to "indent,eol,start"
- 'encoding' defaults to "utf-8"
- 'formatoptions' defaults to "tcqj"
- 'nocompatible' is always set
- 'tags' defaults to "./tags;,tags"
- 'ttyfast' is always set

View File

@@ -79,7 +79,7 @@
#define FO_REMOVE_COMS 'j' /* remove comment leaders when joining lines */
#define DFLT_FO_VI "vt"
#define DFLT_FO_VIM "tcq"
#define DFLT_FO_VIM "tcqj"
#define FO_ALL "tcroq2vlb1mMBn,awj" /* for do_set() */
/* characters for the p_cpo option: */