Mercurial > vim
annotate src/testdir/test26.in @ 10694:fa6c4825a1c4 v8.0.0237
patch 8.0.0237: when 'wildoptions' is "tagfile" completion may not work
commit https://github.com/vim/vim/commit/ba47b51ff88d91c9bb5aa522183e23a656865697
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 24 21:18:19 2017 +0100
patch 8.0.0237: when 'wildoptions' is "tagfile" completion may not work
Problem: When setting wildoptions=tagfile the completion context is not set
correctly. (desjardins)
Solution: Check for EXPAND_TAGS_LISTFILES. (Christian Brabandt, closes #1399)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 24 Jan 2017 21:30:04 +0100 |
parents | b63792dadc23 |
children |
rev | line source |
---|---|
7 | 1 Test for :execute, :while and :if |
2 | |
3 STARTTEST | |
4 :so small.vim | |
5 mt:let i = 0 | |
6 :while i < 12 | |
7 : let i = i + 1 | |
8 : if has("ebcdic") | |
9 : execute "normal o" . i . "\047" | |
10 : else | |
11 : execute "normal o" . i . "\033" | |
12 : endif | |
13 : if i % 2 | |
14 : normal Ax | |
15 : if i == 9 | |
16 : break | |
17 : endif | |
18 : if i == 5 | |
19 : continue | |
20 : else | |
21 : let j = 9 | |
22 : while j > 0 | |
23 : if has("ebcdic") | |
24 : execute "normal" j . "a" . j . "\x27" | |
25 : else | |
26 : execute "normal" j . "a" . j . "\x1b" | |
27 : endif | |
28 : let j = j - 1 | |
29 : endwhile | |
30 : endif | |
31 : endif | |
32 : if i == 9 | |
33 : if has("ebcdic") | |
34 : execute "normal Az\047" | |
35 : else | |
36 : execute "normal Az\033" | |
37 : endif | |
38 : endif | |
39 :endwhile | |
1405 | 40 :unlet i j |
7 | 41 :'t,$w! test.out |
42 :qa! | |
43 ENDTEST | |
44 |