Mercurial > vim
diff src/vim.h @ 3584:443c50cd3e88 v7.3.552
updated for version 7.3.552
Problem: Formatting inside comments does not use the "2" flag in
'formatoptions'.
Solution: Support the "2" flag. (Tor Perkins)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 13 Jun 2012 17:28:55 +0200 |
parents | 09d0bda69df0 |
children | 46896c29edd7 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -1072,12 +1072,14 @@ extern char *(*dyn_libintl_textdomain)(c #define INSCHAR_DO_COM 2 /* format comments */ #define INSCHAR_CTRLV 4 /* char typed just after CTRL-V */ #define INSCHAR_NO_FEX 8 /* don't use 'formatexpr' */ +#define INSCHAR_COM_LIST 16 /* format comments with list/2nd line indent */ /* flags for open_line() */ #define OPENLINE_DELSPACES 1 /* delete spaces after cursor */ #define OPENLINE_DO_COM 2 /* format comments */ #define OPENLINE_KEEPTRAIL 4 /* keep trailing spaces */ #define OPENLINE_MARKFIX 8 /* fix mark positions */ +#define OPENLINE_COM_LIST 16 /* format comments with list/2nd line indent */ /* * There are four history tables: