1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2019-10-19 17:38:03 +02:00
parent 00e192becd
commit a74fda6f4d
4 changed files with 36 additions and 34 deletions

View File

@@ -429,18 +429,6 @@
# define FEAT_CONCEAL
#endif
/*
* +textprop Text properties and popup windows
*/
#if defined(FEAT_EVAL) && defined(FEAT_SYN_HL)
# define FEAT_TEXT_PROP
#endif
#if defined(FEAT_SYN_HL) && defined(FEAT_RELTIME)
// Can limit syntax highlight time to 'redrawtime'.
# define SYN_TIME_LIMIT 1
#endif
/*
* +spell spell checking
*
@@ -1119,10 +1107,6 @@
# define FEAT_ARP
#endif
/*
* +GUI_Athena To compile Vim with or without the GUI (gvim) you have
* +GUI_Motif to edit the Makefile.
*/
/*
* +ole Win32 OLE automation: Use Makefile.ovc.
@@ -1138,6 +1122,8 @@
* +tcl TCL interface: "--enable-tclinterp"
* +netbeans_intg Netbeans integration
* +channel Inter process communication
* +GUI_Athena Athena GUI
* +GUI_Motif Motif GUI
*/
/*
@@ -1170,6 +1156,23 @@
#if defined(FEAT_TERMINAL) && !defined(CURSOR_SHAPE)
# define CURSOR_SHAPE
#endif
#if defined(FEAT_TERMINAL) && !defined(FEAT_SYN_HL)
// simplify the code a bit by enabling +syntax when +terminal is enabled
# define FEAT_SYN_HL
#endif
/*
* +textprop Text properties and popup windows
*/
#if defined(FEAT_EVAL) && defined(FEAT_SYN_HL)
# define FEAT_TEXT_PROP
#endif
#if defined(FEAT_SYN_HL) && defined(FEAT_RELTIME)
// Can limit syntax highlight time to 'redrawtime'.
# define SYN_TIME_LIMIT 1
#endif
/*
* +signs Allow signs to be displayed to the left of text lines.