I am interested in this patch for MacVim, unfortunately when I apply it, I get the following errors.
Non verbose output:
~/Development/macvim: git apply file.patch
error: patch failed: src/option.c:8501
error: src/option.c: patch does not apply
Verbose output:
~/Development/macvim: git apply -v file.patch
Checking patch runtime/doc/eval.txt...
Hunk #1 succeeded at 1957 (offset -1 lines).
Hunk #2 succeeded at 5604 (offset -9 lines).
Hunk #3 succeeded at 6413 (offset -8 lines).
Checking patch runtime/doc/options.txt...
Hunk #1 succeeded at 1205 (offset -2 lines).
Hunk #2 succeeded at 4706 (offset 89 lines).
Checking patch runtime/doc/tags...
Checking patch runtime/optwin.vim...
Checking patch src/charset.c...
Checking patch src/edit.c...
Hunk #2 succeeded at 1961 (offset 10 lines).
Hunk #3 succeeded at 6770 (offset 15 lines).
Hunk #4 succeeded at 7126 (offset 15 lines).
Hunk #5 succeeded at 9788 (offset 34 lines).
Hunk #6 succeeded at 9818 (offset 34 lines).
Hunk #7 succeeded at 10074 (offset 34 lines).
Checking patch src/eval.c...
Hunk #2 succeeded at 17618 (offset -10 lines).
Checking patch src/ex_cmds.c...
Checking patch src/getchar.c...
Checking patch src/gui_beval.c...
Checking patch src/misc1.c...
Hunk #1 succeeded at 476 (offset 8 lines).
Hunk #2 succeeded at 1998 (offset 8 lines).
Hunk #3 succeeded at 2054 (offset 8 lines).
Hunk #4 succeeded at 2066 (offset 8 lines).
Hunk #5 succeeded at 9103 (offset 14 lines).
Hunk #6 succeeded at 9127 (offset 14 lines).
Hunk #7 succeeded at 9167 (offset 14 lines).
Checking patch src/misc2.c...
Checking patch src/normal.c...
Hunk #1 succeeded at 4540 (offset 5 lines).
Hunk #2 succeeded at 4613 (offset 5 lines).
Hunk #3 succeeded at 4643 (offset 5 lines).
Checking patch src/ops.c...
Hunk #6 succeeded at 5209 (offset 15 lines).
Hunk #7 succeeded at 5278 (offset 15 lines).
Hunk #8 succeeded at 6791 (offset 15 lines).
Checking patch src/option.c...
Hunk #1 succeeded at 190 (offset 3 lines).
Hunk #2 succeeded at 660 (offset 9 lines).
error: while searching for:
}
curwin->w_nrwidth_line_count = 0;
}
#endif
else if (pp == &curbuf->b_p_tw)
error: patch failed: src/option.c:8501
error: src/option.c: patch does not apply
Checking patch src/option.h...
Hunk #1 succeeded at 1071 (offset 14 lines).
Checking patch src/proto/charset.pro...
Checking patch src/proto/misc1.pro...
Checking patch src/regexp.c...
Checking patch src/regexp_nfa.c...
Hunk #1 succeeded at 6345 (offset 38 lines).
Checking patch src/screen.c...
Checking patch src/structs.h...
Checking patch src/ui.c...
Hunk #1 succeeded at 3196 (offset 21 lines).
Is there any way to quickly tweak this patch or make a copy of it that would work on MacVim?
Cheers,
Amadeus