diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-13 17:28:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-13 17:28:55 +0200 |
commit | bfe3bf806a8a4300289055643d13d19e2dbc8967 (patch) | |
tree | 487a502d010be7ed435e2a8a0bbd3d4e1e7e299c /src/vim.h | |
parent | a8596c47724b97822924f5ffe5d50476de31ff4b (diff) | |
download | vim-git-bfe3bf806a8a4300289055643d13d19e2dbc8967.tar.gz |
updated for version 7.3.552v7.3.552
Problem: Formatting inside comments does not use the "2" flag in
'formatoptions'.
Solution: Support the "2" flag. (Tor Perkins)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1072,12 +1072,14 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname); #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: |