File tree 7 files changed +23
-3
lines changed
7 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -2040,7 +2040,7 @@ function! s:ParseCommandLine(argv)
2040
2040
let j += 1
2041
2041
continue
2042
2042
endif
2043
- if tok[0 ] == ' -' && parseopts
2043
+ if tok != " - " && tok [0 ] == ' -' && parseopts
2044
2044
let tok = s: Trim (tok)
2045
2045
if tok = ~ ' -[0-9]\+'
2046
2046
let opts[" count" ] = tok[1 :]
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ GrepAdd -F +
51
51
ResultListTag GrepAdd - F ,
52
52
GrepAdd - F ,
53
53
54
- " ResultListTag GrepAdd -F -
55
- " GrepAdd -F -
54
+ ResultListTag GrepAdd - F -
55
+ GrepAdd - F -
56
56
57
57
ResultListTag GrepAdd - F .
58
58
GrepAdd - F .
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ __simpleregex.in|64 col 0| 1:*
32
32
__simpleregex.in|65 col 0| 1:+
33
33
|1 col 1| GrepAdd -F ,
34
34
__simpleregex.in|66 col 0| 1:,
35
+ |1 col 1| GrepAdd -F -
36
+ __simpleregex.in|53 col 0| 3:[a-c]
37
+ __simpleregex.in|54 col 0| 3:[A-C]
38
+ __simpleregex.in|67 col 0| 1:-
35
39
|1 col 1| GrepAdd -F .
36
40
__simpleregex.in|68 col 0| 1:.
37
41
|1 col 1| GrepAdd -F /
Original file line number Diff line number Diff line change 32
32
65|1 col 0| +
33
33
|1 col 1| GrepAdd -F ,
34
34
66|1 col 0| ,
35
+ |1 col 1| GrepAdd -F -
36
+ 53|3 col 0| [a-c]
37
+ 54|3 col 0| [A-C]
38
+ 67|1 col 0| -
35
39
|1 col 1| GrepAdd -F .
36
40
68|1 col 0| .
37
41
|1 col 1| GrepAdd -F /
Original file line number Diff line number Diff line change 32
32
|0 col 0| 65:+
33
33
|1 col 1| GrepAdd -F ,
34
34
|0 col 0| 66:,
35
+ |1 col 1| GrepAdd -F -
36
+ |0 col 0| 53:[a-c]
37
+ |0 col 0| 54:[A-C]
38
+ |0 col 0| 67:-
35
39
|1 col 1| GrepAdd -F .
36
40
|0 col 0| 68:.
37
41
|1 col 1| GrepAdd -F /
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ __simpleregex.in|64 col 0| *
32
32
__simpleregex.in|65 col 0| +
33
33
|1 col 1| GrepAdd -F ,
34
34
__simpleregex.in|66 col 0| ,
35
+ |1 col 1| GrepAdd -F -
36
+ __simpleregex.in|53 col 0| [a-c]
37
+ __simpleregex.in|54 col 0| [A-C]
38
+ __simpleregex.in|67 col 0| -
35
39
|1 col 1| GrepAdd -F .
36
40
__simpleregex.in|68 col 0| .
37
41
|1 col 1| GrepAdd -F /
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ __simpleregex.in|64 col 1| *
32
32
__simpleregex.in|65 col 1| +
33
33
|1 col 1| GrepAdd -F ,
34
34
__simpleregex.in|66 col 1| ,
35
+ |1 col 1| GrepAdd -F -
36
+ __simpleregex.in|53 col 3| [a-c]
37
+ __simpleregex.in|54 col 3| [A-C]
38
+ __simpleregex.in|67 col 1| -
35
39
|1 col 1| GrepAdd -F .
36
40
__simpleregex.in|68 col 1| .
37
41
|1 col 1| GrepAdd -F /
You can’t perform that action at this time.
0 commit comments