mirror of
https://github.com/vim/vim.git
synced 2025-10-12 06:44:06 -04:00
updated for version 7.3.541
Problem: When joining lines comment leaders need to be removed manually. Solution: Add the 'j' flag to 'formatoptions'. (Lech Lorens)
This commit is contained in:
@@ -104,10 +104,11 @@
|
||||
#define FO_ONE_LETTER '1'
|
||||
#define FO_WHITE_PAR 'w' /* trailing white space continues paragr. */
|
||||
#define FO_AUTO 'a' /* automatic formatting */
|
||||
#define FO_REMOVE_COMS 'j' /* remove comment leaders when joining lines */
|
||||
|
||||
#define DFLT_FO_VI "vt"
|
||||
#define DFLT_FO_VIM "tcq"
|
||||
#define FO_ALL "tcroq2vlb1mMBn,aw" /* for do_set() */
|
||||
#define FO_ALL "tcroq2vlb1mMBn,awj" /* for do_set() */
|
||||
|
||||
/* characters for the p_cpo option: */
|
||||
#define CPO_ALTREAD 'a' /* ":read" sets alternate file name */
|
||||
|
Reference in New Issue
Block a user