File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -762,6 +762,7 @@ install_bat_choice(int idx)
762
762
fprintf (fd , "@echo off\n" );
763
763
fprintf (fd , "rem -- Run Vim --\n" );
764
764
fprintf (fd , "\n" );
765
+ fprintf (fd , "setlocal\n" );
765
766
766
767
/* Don't use double quotes for the "set" argument, also when it
767
768
* contains a space. The quotes would be included in the value
@@ -793,6 +794,9 @@ install_bat_choice(int idx)
793
794
fprintf (fd , "if .%%1==. goto loopend\n" );
794
795
if (* exename == 'g' )
795
796
{
797
+ fprintf (fd , "if NOT .%%1==.--nofork goto noforklongarg\n" );
798
+ fprintf (fd , "set VIMNOFORK=1\n" );
799
+ fprintf (fd , ":noforklongarg\n" );
796
800
fprintf (fd , "if NOT .%%1==.-f goto noforkarg\n" );
797
801
fprintf (fd , "set VIMNOFORK=1\n" );
798
802
fprintf (fd , ":noforkarg\n" );
Original file line number Diff line number Diff line change @@ -748,6 +748,8 @@ static char *(features[]) =
748
748
749
749
static int included_patches [] =
750
750
{ /* Add new patch number below this line */
751
+ /**/
752
+ 1683 ,
751
753
/**/
752
754
1682 ,
753
755
/**/
You can’t perform that action at this time.
0 commit comments