Mercurial > vim
annotate src/testdir/test48.ok @ 12903:411a30bd7e8a v8.0.1328
patch 8.0.1328: trouble when using ":term ++close" with autocmd
commit https://github.com/vim/vim/commit/ff5467965e3871d3dc0288416fcc6b1e2ba4f822
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 21 14:47:57 2017 +0100
patch 8.0.1328: trouble when using ":term ++close" with autocmd
Problem: Trouble when using ":term ++close" with autocmd. (Gabriel Barta)
Solution: Use aucmd_prepbuf() and aucmd_restbuf() instead of setting curbuf.
(closes #2339)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 21 Nov 2017 15:00:06 +0100 |
parents | 9dc52b404c1b |
children |
rev | line source |
---|---|
4013 | 1 , foo |
7 | 2 keyword keyword |
3 all your base | |
4 are belong to vim | |
5 1 2 3 4 5 7 | |
6 'i' <-- should be 3 ' ' | |
7 'C' <-- should be 3 ' ' | |
8 'a' <-- should be 4 ' ' | |
9 'A'<-- should be 0 ' ' | |
10 'D' <-- 'D' should be intact | |
11 this is a test | |
12 this is a test | |
13 this is a test | |
14 "r" x<-- should be 'x' | |
6468 | 15 "r" x <-- should be ' x ' |
7 | 16 [This line should contain only the text between the brackets.] |
17 v i m <-- should show the name of a noted text editor | |
18 6 . 0 <-- and its version number | |
19 | |
20 a | |
21 a | |
22 a | |
23 |