@@ -2587,7 +2587,7 @@ function! s:ConfigureGrepCommandParameters()
2587
2587
\ ' opt_str_wholewordprefix' : ' ' ,
2588
2588
\ ' opt_str_wholewordpostfix' : ' ' ,
2589
2589
\ ' opt_str_wholewordoption' : ' -w ' ,
2590
- \ ' req_str_escapespecialcharacters' : " \^ $#.*[]" ,
2590
+ \ ' req_str_escapespecialcharacters' : " - \^ $#.*[]" ,
2591
2591
\ ' opt_str_escapespecialcharacterstwice' : " " ,
2592
2592
\ ' opt_str_mapexclusionsexpression' : ' "--exclude=\"".v:val."\""." --exclude-dir=\"".v:val."\""' ,
2593
2593
\ ' opt_bool_filtertargetswithnofiles' : ' 1' ,
@@ -2611,7 +2611,7 @@ function! s:ConfigureGrepCommandParameters()
2611
2611
\ ' opt_str_wholewordprefix' : ' ' ,
2612
2612
\ ' opt_str_wholewordpostfix' : ' ' ,
2613
2613
\ ' opt_str_wholewordoption' : ' -w ' ,
2614
- \ ' req_str_escapespecialcharacters' : " \^ $#.*" ,
2614
+ \ ' req_str_escapespecialcharacters' : " - \^ $#.*" ,
2615
2615
\ ' opt_str_escapespecialcharacterstwice' : " " ,
2616
2616
\ ' opt_str_mapexclusionsexpression' : ' ' ,
2617
2617
\ ' opt_bool_filtertargetswithnofiles' : ' 1' ,
@@ -2634,7 +2634,7 @@ function! s:ConfigureGrepCommandParameters()
2634
2634
\ ' opt_str_wholewordprefix' : ' ' ,
2635
2635
\ ' opt_str_wholewordpostfix' : ' ' ,
2636
2636
\ ' opt_str_wholewordoption' : ' -w ' ,
2637
- \ ' req_str_escapespecialcharacters' : " \^ $#.*+?()[]{}" ,
2637
+ \ ' req_str_escapespecialcharacters' : " - \^ $#.*+?()[]{}" ,
2638
2638
\ ' opt_str_escapespecialcharacterstwice' : " |" ,
2639
2639
\ ' opt_str_mapexclusionsexpression' : ' "--ignore-dir=\"".v:val."\" --ignore-file=ext:\"".substitute(v:val, "\\*\\.", "", "")."\""' ,
2640
2640
\ ' opt_bool_filtertargetswithnofiles' : ' 0' ,
@@ -2659,7 +2659,7 @@ function! s:ConfigureGrepCommandParameters()
2659
2659
\ ' opt_str_wholewordprefix' : ' ' ,
2660
2660
\ ' opt_str_wholewordpostfix' : ' ' ,
2661
2661
\ ' opt_str_wholewordoption' : ' -w ' ,
2662
- \ ' req_str_escapespecialcharacters' : " \^ $#.*+?()[]{}" ,
2662
+ \ ' req_str_escapespecialcharacters' : " - \^ $#.*+?()[]{}" ,
2663
2663
\ ' opt_str_escapespecialcharacterstwice' : " |" ,
2664
2664
\ ' opt_str_mapexclusionsexpression' : ' "--ignore-dir=\"".v:val."\""' ,
2665
2665
\ ' opt_bool_filtertargetswithnofiles' : ' 1' ,
@@ -2682,7 +2682,7 @@ function! s:ConfigureGrepCommandParameters()
2682
2682
\ ' opt_str_wholewordprefix' : ' ' ,
2683
2683
\ ' opt_str_wholewordpostfix' : ' ' ,
2684
2684
\ ' opt_str_wholewordoption' : ' -w ' ,
2685
- \ ' req_str_escapespecialcharacters' : " \^ $#.*+?()[]{}" ,
2685
+ \ ' req_str_escapespecialcharacters' : " - \^ $#.*+?()[]{}" ,
2686
2686
\ ' opt_str_escapespecialcharacterstwice' : " " ,
2687
2687
\ ' opt_str_mapexclusionsexpression' : ' ' ,
2688
2688
\ ' opt_bool_filtertargetswithnofiles' : ' 1' ,
@@ -2952,7 +2952,7 @@ function! s:DoGrep(pattern, add, wholeword, count, escapeArgs)
2952
2952
" In some cases the colors of vim's layout might be borked, so force vim to redraw:
2953
2953
redraw !
2954
2954
if g: EasyGrepOpenWindowOnMatch
2955
- if g: EasyGrepWindow == 0
2955
+ if g: EasyGrepWindow == 0
2956
2956
if ! s: IsQuickfixListOpen ()
2957
2957
execute g: EasyGrepWindowPosition ." copen"
2958
2958
endif
0 commit comments