comparison src/feature.h @ 18374:86c00b8fefea v8.1.2181

patch 8.1.2181: highlighting wrong when item follows tab Commit: https://github.com/vim/vim/commit/a74fda6f4d21d8e0652e9cfa04dd3e041f779f62 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 19 17:38:03 2019 +0200 patch 8.1.2181: highlighting wrong when item follows tab Problem: Highlighting wrong when item follows tab. Solution: Don't use syntax attribute when n_extra is non-zero. (Christian Brabandt, closes #5076)
author Bram Moolenaar <Bram@vim.org>
date Sat, 19 Oct 2019 17:45:03 +0200
parents 9f51d0cef8da
children df141c730008
comparison
equal deleted inserted replaced
18373:76e7c6c09dcf 18374:86c00b8fefea
428 #if defined(FEAT_BIG) && defined(FEAT_SYN_HL) 428 #if defined(FEAT_BIG) && defined(FEAT_SYN_HL)
429 # define FEAT_CONCEAL 429 # define FEAT_CONCEAL
430 #endif 430 #endif
431 431
432 /* 432 /*
433 * +textprop Text properties and popup windows
434 */
435 #if defined(FEAT_EVAL) && defined(FEAT_SYN_HL)
436 # define FEAT_TEXT_PROP
437 #endif
438
439 #if defined(FEAT_SYN_HL) && defined(FEAT_RELTIME)
440 // Can limit syntax highlight time to 'redrawtime'.
441 # define SYN_TIME_LIMIT 1
442 #endif
443
444 /*
445 * +spell spell checking 433 * +spell spell checking
446 * 434 *
447 * Disabled for EBCDIC: * Doesn't work (SIGSEGV). 435 * Disabled for EBCDIC: * Doesn't work (SIGSEGV).
448 */ 436 */
449 #if (defined(FEAT_NORMAL) || defined(PROTO)) && !defined(EBCDIC) 437 #if (defined(FEAT_NORMAL) || defined(PROTO)) && !defined(EBCDIC)
1117 */ 1105 */
1118 #if !defined(NO_ARP) && !defined(__amigaos4__) 1106 #if !defined(NO_ARP) && !defined(__amigaos4__)
1119 # define FEAT_ARP 1107 # define FEAT_ARP
1120 #endif 1108 #endif
1121 1109
1122 /*
1123 * +GUI_Athena To compile Vim with or without the GUI (gvim) you have
1124 * +GUI_Motif to edit the Makefile.
1125 */
1126 1110
1127 /* 1111 /*
1128 * +ole Win32 OLE automation: Use Makefile.ovc. 1112 * +ole Win32 OLE automation: Use Makefile.ovc.
1129 */ 1113 */
1130 1114
1136 * +perl Perl interface: "--enable-perlinterp" 1120 * +perl Perl interface: "--enable-perlinterp"
1137 * +python Python interface: "--enable-pythoninterp" 1121 * +python Python interface: "--enable-pythoninterp"
1138 * +tcl TCL interface: "--enable-tclinterp" 1122 * +tcl TCL interface: "--enable-tclinterp"
1139 * +netbeans_intg Netbeans integration 1123 * +netbeans_intg Netbeans integration
1140 * +channel Inter process communication 1124 * +channel Inter process communication
1125 * +GUI_Athena Athena GUI
1126 * +GUI_Motif Motif GUI
1141 */ 1127 */
1142 1128
1143 /* 1129 /*
1144 * These features are automatically detected: 1130 * These features are automatically detected:
1145 * +terminfo 1131 * +terminfo
1168 # undef FEAT_TERMINAL 1154 # undef FEAT_TERMINAL
1169 #endif 1155 #endif
1170 #if defined(FEAT_TERMINAL) && !defined(CURSOR_SHAPE) 1156 #if defined(FEAT_TERMINAL) && !defined(CURSOR_SHAPE)
1171 # define CURSOR_SHAPE 1157 # define CURSOR_SHAPE
1172 #endif 1158 #endif
1159 #if defined(FEAT_TERMINAL) && !defined(FEAT_SYN_HL)
1160 // simplify the code a bit by enabling +syntax when +terminal is enabled
1161 # define FEAT_SYN_HL
1162 #endif
1163
1164 /*
1165 * +textprop Text properties and popup windows
1166 */
1167 #if defined(FEAT_EVAL) && defined(FEAT_SYN_HL)
1168 # define FEAT_TEXT_PROP
1169 #endif
1170
1171 #if defined(FEAT_SYN_HL) && defined(FEAT_RELTIME)
1172 // Can limit syntax highlight time to 'redrawtime'.
1173 # define SYN_TIME_LIMIT 1
1174 #endif
1175
1173 1176
1174 /* 1177 /*
1175 * +signs Allow signs to be displayed to the left of text lines. 1178 * +signs Allow signs to be displayed to the left of text lines.
1176 * Adds the ":sign" command. 1179 * Adds the ":sign" command.
1177 */ 1180 */