1
0
forked from aniani/vim

updated for version 7.4.664

Problem:    When 'compatible' is reset 'numberwidth' is set to 4, but the
            effect doesn't show until a change is made.
Solution:   Check if 'numberwidth' changed. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2015-03-20 15:42:10 +01:00
parent 404c942fb8
commit 6b31467aa7
3 changed files with 5 additions and 1 deletions

View File

@@ -2306,6 +2306,7 @@ struct window_S
#ifdef FEAT_LINEBREAK
linenr_T w_nrwidth_line_count; /* line count when ml_nrwidth_width
* was computed. */
long w_nuw_cached; /* 'numberwidth' option cached */
int w_nrwidth_width; /* nr of chars to print line count. */
#endif