Mercurial > vim
diff src/proto/diff.pro @ 18590:41484f342f80 v8.1.2289
patch 8.1.2289: after :diffsplit closing the window does not disable diff
Commit: https://github.com/vim/vim/commit/c8234779790dd873acb88331c50988adf94cc383
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 10 21:00:27 2019 +0100
patch 8.1.2289: after :diffsplit closing the window does not disable diff
Problem: After :diffsplit closing the window does not disable diff.
Solution: Add "closeoff" to 'diffopt' and add it to the default.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Nov 2019 21:15:04 +0100 |
parents | 5c8906f653f5 |
children | cce6b834635c |
line wrap: on
line diff
--- a/src/proto/diff.pro +++ b/src/proto/diff.pro @@ -19,6 +19,7 @@ void diff_set_topline(win_T *fromwin, wi int diffopt_changed(void); int diffopt_horizontal(void); int diffopt_hiddenoff(void); +int diffopt_closeoff(void); int diff_find_change(win_T *wp, linenr_T lnum, int *startp, int *endp); int diff_infold(win_T *wp, linenr_T lnum); void nv_diffgetput(int put, long count);