We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfbdc48 commit 4661765Copy full SHA for 4661765
src/fileio.c
@@ -8982,6 +8982,10 @@ aucmd_restbuf(aco)
8982
&& buf_valid(aco->new_curbuf)
8983
&& aco->new_curbuf->b_ml.ml_mfp != NULL)
8984
{
8985
+# if defined(FEAT_SYN_HL) || defined(FEAT_SPELL)
8986
+ if (curwin->w_s == &curbuf->b_s)
8987
+ curwin->w_s = &aco->new_curbuf->b_s;
8988
+# endif
8989
--curbuf->b_nwindows;
8990
curbuf = aco->new_curbuf;
8991
curwin->w_buffer = curbuf;
src/version.c
@@ -714,6 +714,8 @@ static char *(features[]) =
714
715
static int included_patches[] =
716
{ /* Add new patch number below this line */
717
+/**/
718
+ 511,
719
/**/
720
510,
721
0 commit comments