aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/diff-corrections/plugin
AgeCommit message (Collapse)Author
2023-12-09diff-corrections: Apply diff corrections on BufEnterTeddy Wing
Ensure that diff corrections are applied in a `vimdiff` context, where we haven't run `:diffthis` manually.
2019-06-08diff_corrections: Use better autocmdsTeddy Wing
Thanks to Christian Brabandt (https://vi.stackexchange.com/users/71/christian-brabandt) for describing better autocmds for detecting diff mode: https://vi.stackexchange.com/questions/12847/automatically-disable-cursorline-when-in-diff-mode/12852#12852 And for making the patch (https://github.com/vim/vim/commit/04f62f881c5743d2fdaf7324f6a715381f0d5fcf) that allows diff mode to be detected with the OptionSet event.
2019-05-17diff-corrections: Don't load if the lambda feature isn't availableTeddy Wing
I wrote the `s:SaveCommentColor()` function using a lambda for `filter()`ing. However, not all Vims have `lambda` support. And it doesn't exist before Vim 7.4 I think. Use this guard to avoid causing errors on startup for those Vims without lambdas.
2019-05-17diff-corrections/plugin: Add load guardTeddy Wing
2019-05-17plugin/diff_corrections.vim: Increase 'tabpagemax' to 200Teddy Wing
The default is 10. Set it to a ridiculously large number so that we can open one tab per file during a code review.
2019-05-11diff-corrections: Move corrections to `autoload`Teddy Wing
Makes the code a little nicer and more extensible without the line continuations. Only change the highlight colour for the 'twilight256' colour scheme.
2019-05-10Add 'diff-corrections' to adjust settings during diff modeTeddy Wing
* Changes `Comment` colour for better readability on red backgrounds. * Turns of 'cursorline' so that diff background highlighting doesn't get shadowed.