Mercurial > vim
annotate runtime/indent/testdir/cleantest.vim @ 16019:096b8ccd855e v8.1.1015
patch 8.1.1015: quickfix buffer shows up in list, can't get buffer number
commit https://github.com/vim/vim/commit/647e24ba3dbf7ff448aa471b1a659a18267ae056
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 17 16:39:46 2019 +0100
patch 8.1.1015: quickfix buffer shows up in list, can't get buffer number
Problem: Quickfix buffer shows up in list, can't get buffer number.
Solution: Make the quickfix buffer unlisted when the quickfix window is
closed. get the quickfix buffer number with getqflist().
(Yegappan Lakshmanan, closes #4113)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Mar 2019 16:45:11 +0100 |
parents | 5c3ca8f7adea |
children |
rev | line source |
---|---|
15178
5c3ca8f7adea
patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents:
14970
diff
changeset
|
1 " Only do this with the +eval feature |
5c3ca8f7adea
patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents:
14970
diff
changeset
|
2 if 1 |
5c3ca8f7adea
patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents:
14970
diff
changeset
|
3 |
5c3ca8f7adea
patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents:
14970
diff
changeset
|
4 " Deletes all the test output files: *.fail and *.out |
5c3ca8f7adea
patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents:
14970
diff
changeset
|
5 for fname in glob('testdir/*.out', 1, 1) + glob('testdir/*.fail', 1, 1) |
5c3ca8f7adea
patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents:
14970
diff
changeset
|
6 call delete(fname) |
5c3ca8f7adea
patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents:
14970
diff
changeset
|
7 endfor |
5c3ca8f7adea
patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents:
14970
diff
changeset
|
8 |
5c3ca8f7adea
patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents:
14970
diff
changeset
|
9 endif |
14970
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 |
19b757c6c6a7
patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 quit |