| /vim-8.2.3635/src/testdir/ |
| H A D | test_method.vim | 42 let d = #{one: 1, two: 2, three: 3} 51 call assert_equal(2, d->get('two')) 54 call assert_true(d->has_key('two')) 57 call assert_equal(['one', 'two', 'three'], d->keys()) 63 call assert_equal(2, d->remove("two")) 64 let d.two = 2 88 eval ['one', 'two', 'three']->append(1) 94 eval ['one', 'two', 'three']->appendbufline(bnr, 1) 101 func Concat(one, two, three) argument 102 return a:one .. a:two .. a:three [all …]
|
| H A D | test_listener.vim | 22 call setline(1, ['one', 'two']) 31 call append(2, 'two two') 35 " the two changes are not merged 40 call setline(1, ['one one', 'two']) 65 call append(2, 'two two') 80 call append(1, 'two two') 89 call append(0, 'two two') 94 call assert_equal('two two', s:text) 156 call setline(1, ['one', 'two']) 169 " two disconnected changes [all …]
|
| H A D | test_textformat.vim | 817 ‘ two three ’ four 945 call setline(1, ['one ', 'two']) 985 call setline(1, ['one two three four', 'five six', 'one two']) 991 call setline(1, ['one two three four', 'five six', 'one two']) 1006 call setline(1, [' 1) one two three four', ' 2) two']) 1008 call assert_equal([' 1) one two', ' three', ' four', ' 2) two'], 1020 call setline(1, [' - one two three', ' - two']) 1022 call assert_equal([' - one', ' two', ' three', ' - two'], 1035 call setline(1, 'one two three four') 1041 call setline(1, 'one two three four') [all …]
|
| H A D | test_listchars.vim | 413 " use different values for 'listchars' items in two different windows 414 call setline(1, ["\t one two "]) 420 call assert_equal(['+------+^^one>>two<<%'], ScreenLines(1, virtcol('$'))) 424 call assert_equal(['<------>__one..two@@#'], ScreenLines(1, virtcol('$'))) 427 call assert_equal(['<------>__one..two@@#'], ScreenLines(1, virtcol('$'))) 434 call setline(1, ["\t one two "]) 441 call assert_equal(['<------>__one..two@@#'], ScreenLines(1, virtcol('$'))) 443 call assert_equal(['+------+^^one>>two<<%'], ScreenLines(1, virtcol('$'))) 445 call assert_equal(['{......}--one==two##$'], ScreenLines(1, virtcol('$'))) 454 call assert_equal(['^I one two $'], ScreenLines(1, virtcol('$'))) [all …]
|
| H A D | test_window_id.vim | 9 split two 12 let w:two = 'two' 27 call assert_equal("two", expand("%")) 39 call assert_equal('two', getwinvar(id2, 'two')) 51 call settabwinvar(1, id2, 'two', '2') 56 call assert_equal('2', getwinvar(id2, 'two')) 71 call assert_equal("two", expand("%"))
|
| H A D | test_cpoptions.vim | 117 call writefile(["two\tXfile2\t/^two$/"], 'Xdir/tags') 400 call setline(1, ['', 'one', 'two', 'three', 'one', 'two', 'three']) 418 call writefile(['two'], 'Xfile') 473 exe "normal ggc/two\<CR>abc " 480 exe "normal ggc/two\<CR>abc " 620 call setline(1, ['one', 'two']) 626 call setline(1, ['one', 'two']) 630 call assert_equal("two\n", @") 666 call setline(1, 'one two three') 762 call setline(1, 'one two') [all …]
|
| H A D | test_vim9_expr.vim | 34 assert_equal('two', false ? 'one' : 'two') 35 assert_equal('two', 0 ? 'one' : 'two') 37 assert_equal('two', !!0.0 ? 'one' : 'two') 39 assert_equal('two', !!'' ? 'one' : 'two') 40 assert_equal('two', !!0z ? 'one' : 'two') 41 assert_equal('two', !![] ? 'one' : 'two') 42 assert_equal('two', !!{} ? 'one' : 'two') 44 assert_equal('two', name ? 'one' : 'two') 2440 assert_equal({one: 'one', two: 'two'}, d) 2705 two: 'two', [all …]
|
| H A D | test_comments.vim | 214 call setline(1, ['one', '/* two */', 'three']) 216 call assert_equal(['one', '/* two */', 'three'], getline(1, '$')) 224 call feedkeys("a- one\n- two\n", 'xt') 225 call assert_equal(['- one', '- two', ''], getline(1, '$')) 234 call assert_equal(['one two', ''], getline(1, '$')) 238 call assert_equal(['one', 'two', ''], getline(1, '$')) 266 call setline(1, ['- one two', 'three']) 268 call assert_equal(['- one two three'], getline(1, '$')) 271 call setline(1, ['- one', '- two']) 273 call assert_equal(['- one', '- two'], getline(1, '$'))
|
| H A D | test_wordcount.vim | 15 call append(1, 'one two three') 22 call append(1, 'one two three') 30 call append(1, 'one two three') 38 call append(1, ['one two three', 'one two three', 'one two three']) 45 call append(1, 'one two three')
|
| H A D | test_ruby.vim | 16 call setline(1, ['one', 'two', 'three']) 23 call setline(1, ['one', 'two', 'three']) 31 call setline(1, ['one', 'two', 'three', 'four']) 71 call setline(1, ['one', 'two', 'three']) 98 call setline(1, ['one', 'two', 'three']) 113 ruby $curbuf.append(1, 'two') 129 call setline(1, ['one', 'two', 'three']) 142 call setline(1, ['one', 'two', 'three']) 151 call setline(1, ['one', 'two']) 153 call assert_equal('two', rubyeval('$curbuf[2]')) [all …]
|
| H A D | test_assert.vim | 59 call assert_equal(0, assert_equal(#{one: 1, two: 2}, #{two: 2, one: 1})) 61 call assert_equal(1, assert_equal(#{one: 1, two: 2}, #{two: 2, one: 3})) 65 call assert_equal(1, assert_equal(#{one: 1, two: 2}, #{two: 22, one: 11})) 66 call assert_match("Expected {'one': 1, 'two': 2} but got {'one': 11, 'two': 22}", v:errors[0]) 69 call assert_equal(1, assert_equal(#{}, #{two: 2, one: 1})) 70 call assert_match("Expected {} but got {'one': 1, 'two': 2}", v:errors[0]) 73 call assert_equal(1, assert_equal(#{two: 2, one: 1}, #{})) 74 call assert_match("Expected {'one': 1, 'two': 2} but got {}", v:errors[0]) 83 let goodtext = ["one", "two", "three"] 366 call setline(1, ['line one', 'line two'])
|
| H A D | test_modeless.vim | 19 call setline(1, ['one two three', 'foo bar baz']) 63 call assert_equal("ne two th", @*, msg) 79 call assert_equal("e two thr", @*, msg) 92 call assert_equal("e two t", @*, msg) 118 call assert_equal(" two three\nfoo bar ", @*, msg) 131 call assert_equal("two three\nfoo bar", @*, msg) 254 call setline(1, ['one two three', 'foo bar baz']) 273 call assert_equal("two three", @*, msg) 314 call assert_equal("two three\nfoo bar", @*, msg) 334 call setline(1, ['one two three', 'foo bar baz']) [all …]
|
| H A D | test_maparg.vim | 88 var two: string = maparg('{', 'n') 89 assert_equal('w', two) 201 inoremap K one\<CR>two 203 call assert_equal('one<CR>two', getline(1)) 207 call assert_equal('one\<CR>two', orig.rhs) 216 call assert_equal('one<CR>two', getline(1)) 221 inoremap K one<CR>two 223 call assert_equal('one<CR>two', getline(1)) 227 call assert_equal("one\x16<CR>two", orig.rhs) 236 call assert_equal('one<CR>two', getline(1))
|
| H A D | test_usercommands.vim | 120 TestFArgs one two three 123 TestFArgs one\\two three 126 TestFArgs one\ two three 129 TestFArgs one\"two three 141 TestQArgs one two three 142 call assert_equal(['one two three'], g:args) 144 TestQArgs one\\two three 147 TestQArgs one\ two three 150 TestQArgs one\"two three 409 args one two three [all …]
|
| H A D | test_textprop.vim | 32 call prop_type_add('two', {}) 36 call prop_type_delete('two') 105 call prop_type_add('two', {}) 112 call prop_type_delete('two') 118 call setline(1, 'one two three') 346 call setline(1, ['one one one', 'two two two', 'six six six', 'ten ten ten']) 876 call setline(1, ['one one', 'two two', 'three three', 'four four', 'five']) 892 call setline(2, 'two three') 897 call search('^two') 903 call search('two \zsthree') [all …]
|
| H A D | test_undo.vim | 103 new two 116 " Setting local value in "two" must not change local value in "one" 179 :" Jump two seconds and go some seconds forward and backward 286 call assert_equal(['one one one', 'two', 'two', 'three'], getline(1, '$')) 288 call assert_equal(['one one one', 'two', 'two'], getline(1, '$')) 296 call assert_equal(['one one one', 'two', 'two'], getline(1, '$')) 298 call assert_equal(['one one one', 'two', 'two', 'three'], getline(1, '$')) 585 call setbufline('%', 1, ['one', 'two', 'three', 'four', 'five', 'six', 604 call assert_equal(['one', 'two', 'six', 'seven', 'eight', 'nine', 'ten'], 739 for [i, v] in [[1, 'one'], [2, 'two'], [3, 'three'], [all …]
|
| H A D | test_fold.vim | 577 call setline(1, ['one }}}', 'two']) 580 call setline(1, ['one }}}4', 'two']) 900 call setline(1, ['one', 'two', 'three']) 1054 \ a:fs .. a:fo .. ' two ', 1064 \ a:fs .. a:fo .. ' two ', 1082 \ a:fo .. ' two ', 1094 \ a:fo .. 'two ', 1109 \ a:fs .. a:fo .. ' 2 two ', 1147 \ '9> two ' 1152 \ '89 two ' [all …]
|
| H A D | test_diffmode.vim | 201 let l[20] = 'two' 211 call assert_equal('two', getline(21)) 340 new two 342 let l[20] = 'two' 394 new two 436 botright vert new two 470 call setline(1, ["One \t", 'Two', 'Three', 'one two', 'one two', 'Four']) 475 botright vert new two 561 botright vert new two 584 botright vert new two [all …]
|
| H A D | test_matchfuzzy.vim | 19 call assert_equal(['one'], matchfuzzy(['one', 'two'], 'one')) 33 …call assert_equal(['onetwo', 'one_two', 'one two'], ['onetwo', 'one_two', 'one two']->matchfuzzy('… 51 call assert_equal([], ['foo bar baz', 'foo', 'foo bar', 'baz bar']->matchfuzzy('one two')) 56 …call assert_equal([#{text: 'two one'}], [#{text: 'one two'}, #{text: 'two one'}]->matchfuzzy('two … 129 … assert_equal([[], [], []], ['foo bar baz', 'foo', 'foo bar', 'baz bar']->matchfuzzypos('one two'))
|
| H A D | test_join.vim | 5 call setline(1, ['one', 'two', 'three', 'four']) 7 call assert_equal('one two', getline(1)) 9 call setline(1, ['one', 'two', 'three', 'four']) 11 call assert_equal('one two three four', getline(1)) 13 call setline(1, ['one', '', 'two']) 17 call setline(1, ['one', ' ', 'two']) 21 call setline(1, ['one', '', '', 'two']) 25 call setline(1, ['one', ' ', ' ', 'two']) 29 call setline(1, ['one', '', '', 'two'])
|
| H A D | test_filter_map.vim | 122 let din = #{one: 1, two: 2} 124 call assert_equal(#{one: 1, two: 2}, din) 125 call assert_equal(#{one: '1', two: '2'}, dout) 127 const dconst = #{one: 1, two: 2, three: 3} 128 call assert_equal(#{one: 2, two: 3, three: 4}, mapnew(dconst, {_, v -> v + 1}))
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | usr_08.txt | 8 Display two different files above each other. Or view two locations in the 50 The two windows allow you to view two parts of the same file. For example, 87 :split two.c 92 |/* file two.c */ | 95 |two.c=============================| 170 :vsplit two.c 223 |/* file two.c */ | 316 vim -o one.txt two.txt three.txt 324 |file two.txt | 326 |two.txt========================| [all …]
|
| H A D | usr_32.txt | 53 two changes, numbered 1 and 2, and three states of the text: 63 one two ~ 76 one two me too ~ 95 So how do you get to "one two" now? You can use this command: > 99 The text is now "one two", you are below change 2. You can use the |:undo| 112 one two me too ~ 116 not two ~ 124 one two ~ 131 one two ~ 133 not two ~ [all …]
|
| H A D | undo.txt | 193 one two three ~ 196 ne two three ~ 197 e two three ~ 198 two three ~ 201 e two three ~ 202 ne two three ~ 203 one two three ~ 213 two three ~ 217 e two three ~ 218 ne two three ~ [all …]
|
| /vim-8.2.3635/src/ |
| H A D | arabic.c | 266 arabic_maycombine(int two) in arabic_maycombine() argument 269 return (two == a_ALEF_MADDA in arabic_maycombine() 270 || two == a_ALEF_HAMZA_ABOVE in arabic_maycombine() 271 || two == a_ALEF_HAMZA_BELOW in arabic_maycombine() 272 || two == a_ALEF); in arabic_maycombine() 283 int two) // character just after "one" in arabic_combine() argument 286 return arabic_maycombine(two); in arabic_combine()
|