Mercurial > vim
view src/testdir/test87.ok @ 4365:fe0c7437ae8b v7.3.931
updated for version 7.3.931
Problem: No completion for :xmap and :smap. (Yukihiro Nakadaira)
Solution: Add the case statements. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 07 May 2013 05:18:20 +0200 |
parents | 7eaccdaa5304 |
children | 736b8e18a3bc |
line wrap: on
line source
start: [1, 'as''d', [1, 2, function('strlen'), {'a': 1}]] [1, 2, function('strlen'), {'a': 1}] Vim(put):E684: [0, 'as''d', [1, 2, function('strlen'), {'a': 1}]] [0, function('strlen'), [1, 2, function('strlen'), {'a': 1}]] ['-1', '1', 'b'] '-1' : {'a': 1} '1' : 'asd' 'b' : [1, 2, function('strlen')] [0, function('strlen')] [3] {'1': 'asd', 'b': [1, 2, function('strlen')]} [0, 1, 2, 3] [0, 1, 2, 3] [0, 1, 3] [0, 1] [0, 1] [0, 1] [0, 1, 2, 3] [0, 1, 2, 3] [0, 2, 3] [2, 3] [2, 3] [2, 3] ['a', 0, 1, 2, 3] [0, 'b', 2, 3] [0, 1, 'c'] [0, 1, 2, 3, 'd'] [0, 1, 2, 'e', 3] ['f', 2, 3] [0, 1, 'g', 2, 3] ['h'] [0, 1, 2, 3] [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd'] [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}] [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}, 'New'] Vim(py3):E725: Vim(py3):E117: [0.0, 0.0] KeyError TypeError TypeError ValueError TypeError TypeError d : locked:0;scope:0 dl : locked:1;scope:0 v: : locked:2;scope:1 g: : locked:0;scope:2 d:{'abc': 1} dl:{'def': 1} l : locked:0 ll : locked:1 l:[0] ll:[1] [0, 1, 2] ['a', 'b'] ['c', 1] ['d', ['e']] 0.0 "\0": Vim(let):E861: {"\0": 1}: Vim(let):E861: undefined_name: Vim(let):Trace vim: Vim(let):E861: [1] [1, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 1] Abc bac def bar >>> paste p/gopts1: False inv: 2! ValueError p/wopts1! KeyError inv: 2! KeyError wopts1! KeyError wopts2! KeyError wopts3! KeyError p/bopts1! KeyError inv: 2! KeyError bopts1! KeyError bopts2! KeyError bopts3! KeyError G: 1 W: 1:1 2:1 3:1 4:1 B: 1:1 2:1 3:1 4:1 del wopts3! KeyError del bopts3! KeyError G: 1 W: 1:1 2:1 3:1 4:1 B: 1:1 2:1 3:1 4:1 >>> previewheight p/gopts1: 12 inv: 'a'! ValueError p/wopts1! KeyError inv: 'a'! KeyError wopts1! KeyError wopts2! KeyError wopts3! KeyError p/bopts1! KeyError inv: 'a'! KeyError bopts1! KeyError bopts2! KeyError bopts3! KeyError G: 5 W: 1:5 2:5 3:5 4:5 B: 1:5 2:5 3:5 4:5 del wopts3! KeyError del bopts3! KeyError G: 5 W: 1:5 2:5 3:5 4:5 B: 1:5 2:5 3:5 4:5 >>> operatorfunc p/gopts1: b'' inv: 2! ValueError p/wopts1! KeyError inv: 2! KeyError wopts1! KeyError wopts2! KeyError wopts3! KeyError p/bopts1! KeyError inv: 2! KeyError bopts1! KeyError bopts2! KeyError bopts3! KeyError G: 'A' W: 1:'A' 2:'A' 3:'A' 4:'A' B: 1:'A' 2:'A' 3:'A' 4:'A' del wopts3! KeyError del bopts3! KeyError G: 'A' W: 1:'A' 2:'A' 3:'A' 4:'A' B: 1:'A' 2:'A' 3:'A' 4:'A' >>> number p/gopts1! KeyError inv: 0! KeyError gopts1! KeyError p/wopts1: False p/bopts1! KeyError inv: 0! KeyError bopts1! KeyError bopts2! KeyError bopts3! KeyError G: 0 W: 1:1 2:1 3:0 4:0 B: 1:1 2:1 3:0 4:0 del wopts3! ValueError del bopts3! KeyError G: 0 W: 1:1 2:1 3:0 4:0 B: 1:1 2:1 3:0 4:0 >>> numberwidth p/gopts1! KeyError inv: -100! KeyError gopts1! KeyError p/wopts1: 8 p/bopts1! KeyError inv: -100! KeyError bopts1! KeyError bopts2! KeyError bopts3! KeyError G: 8 W: 1:3 2:5 3:2 4:8 B: 1:3 2:5 3:2 4:8 del wopts3! ValueError del bopts3! KeyError G: 8 W: 1:3 2:5 3:2 4:8 B: 1:3 2:5 3:2 4:8 >>> colorcolumn p/gopts1! KeyError inv: 'abc'! KeyError gopts1! KeyError p/wopts1: b'' p/bopts1! KeyError inv: 'abc'! KeyError bopts1! KeyError bopts2! KeyError bopts3! KeyError G: '' W: 1:'+2' 2:'+3' 3:'+1' 4:'' B: 1:'+2' 2:'+3' 3:'+1' 4:'' del wopts3! ValueError del bopts3! KeyError G: '' W: 1:'+2' 2:'+3' 3:'+1' 4:'' B: 1:'+2' 2:'+3' 3:'+1' 4:'' >>> statusline p/gopts1: b'' inv: 0! ValueError p/wopts1: None inv: 0! ValueError p/bopts1! KeyError inv: 0! KeyError bopts1! KeyError bopts2! KeyError bopts3! KeyError G: '1' W: 1:'2' 2:'4' 3:'1' 4:'1' B: 1:'2' 2:'4' 3:'1' 4:'1' del bopts3! KeyError G: '1' W: 1:'2' 2:'1' 3:'1' 4:'1' B: 1:'2' 2:'1' 3:'1' 4:'1' >>> autoindent p/gopts1! KeyError inv: 2! KeyError gopts1! KeyError p/wopts1! KeyError inv: 2! KeyError wopts1! KeyError wopts2! KeyError wopts3! KeyError p/bopts1: False inv: 2! ValueError G: 0 W: 1:1 2:1 3:0 4:0 B: 1:1 2:1 3:0 4:0 del wopts3! KeyError del bopts3! ValueError G: 0 W: 1:1 2:1 3:0 4:0 B: 1:1 2:1 3:0 4:0 >>> iminsert p/gopts1! KeyError inv: 3! KeyError gopts1! KeyError p/wopts1! KeyError inv: 3! KeyError wopts1! KeyError wopts2! KeyError wopts3! KeyError p/bopts1: 2 G: 1 W: 1:2 2:1 3:0 4:2 B: 1:2 2:1 3:0 4:2 del wopts3! KeyError del bopts3! ValueError G: 1 W: 1:2 2:1 3:0 4:2 B: 1:2 2:1 3:0 4:2 >>> omnifunc p/gopts1! KeyError inv: 1! KeyError gopts1! KeyError p/wopts1! KeyError inv: 1! KeyError wopts1! KeyError wopts2! KeyError wopts3! KeyError p/bopts1: b'' inv: 1! ValueError G: '' W: 1:'B' 2:'C' 3:'A' 4:'' B: 1:'B' 2:'C' 3:'A' 4:'' del wopts3! KeyError del bopts3! ValueError G: '' W: 1:'B' 2:'C' 3:'A' 4:'' B: 1:'B' 2:'C' 3:'A' 4:'' >>> preserveindent p/gopts1! KeyError inv: 2! KeyError gopts1! KeyError p/wopts1! KeyError inv: 2! KeyError wopts1! KeyError wopts2! KeyError wopts3! KeyError p/bopts1: False inv: 2! ValueError G: 0 W: 1:1 2:1 3:0 4:0 B: 1:1 2:1 3:0 4:0 del wopts3! KeyError del bopts3! ValueError G: 0 W: 1:1 2:1 3:0 4:0 B: 1:1 2:1 3:0 4:0 >>> path p/gopts1: b'.,/usr/include,,' inv: 0! ValueError p/wopts1! KeyError inv: 0! KeyError wopts1! KeyError wopts2! KeyError wopts3! KeyError p/bopts1: None inv: 0! ValueError G: '.,,' W: 1:',,' 2:'.' 3:'.,,' 4:'.,,' B: 1:',,' 2:'.' 3:'.,,' 4:'.,,' del wopts3! KeyError G: '.,,' W: 1:',,' 2:'.,,' 3:'.,,' 4:'.,,' B: 1:',,' 2:'.,,' 3:'.,,' 4:'.,,'