Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
3583:88a2cac374ea | 3584:443c50cd3e88 |
---|---|
1070 /* flags for insertchar() */ | 1070 /* flags for insertchar() */ |
1071 #define INSCHAR_FORMAT 1 /* force formatting */ | 1071 #define INSCHAR_FORMAT 1 /* force formatting */ |
1072 #define INSCHAR_DO_COM 2 /* format comments */ | 1072 #define INSCHAR_DO_COM 2 /* format comments */ |
1073 #define INSCHAR_CTRLV 4 /* char typed just after CTRL-V */ | 1073 #define INSCHAR_CTRLV 4 /* char typed just after CTRL-V */ |
1074 #define INSCHAR_NO_FEX 8 /* don't use 'formatexpr' */ | 1074 #define INSCHAR_NO_FEX 8 /* don't use 'formatexpr' */ |
1075 #define INSCHAR_COM_LIST 16 /* format comments with list/2nd line indent */ | |
1075 | 1076 |
1076 /* flags for open_line() */ | 1077 /* flags for open_line() */ |
1077 #define OPENLINE_DELSPACES 1 /* delete spaces after cursor */ | 1078 #define OPENLINE_DELSPACES 1 /* delete spaces after cursor */ |
1078 #define OPENLINE_DO_COM 2 /* format comments */ | 1079 #define OPENLINE_DO_COM 2 /* format comments */ |
1079 #define OPENLINE_KEEPTRAIL 4 /* keep trailing spaces */ | 1080 #define OPENLINE_KEEPTRAIL 4 /* keep trailing spaces */ |
1080 #define OPENLINE_MARKFIX 8 /* fix mark positions */ | 1081 #define OPENLINE_MARKFIX 8 /* fix mark positions */ |
1082 #define OPENLINE_COM_LIST 16 /* format comments with list/2nd line indent */ | |
1081 | 1083 |
1082 /* | 1084 /* |
1083 * There are four history tables: | 1085 * There are four history tables: |
1084 */ | 1086 */ |
1085 #define HIST_CMD 0 /* colon commands */ | 1087 #define HIST_CMD 0 /* colon commands */ |