| /vim-8.2.3635/src/testdir/ |
| H A D | test_highlight.vim | 94 call assert_equal(repeat([attrs0[0]], 4), attrs0[0:3]) 95 call assert_equal(repeat([attrs0[0]], 5), attrs0[5:9]) 109 call assert_equal(repeat([attrs[0]], 4), attrs[0:3]) 180 call assert_equal(repeat([attrs[0]], 4), attrs[0:3]) 181 call assert_equal(repeat([attrs[6]], 9), attrs[6:14]) 239 call assert_equal(repeat([attrs[9]], 4), attrs[6:9]) 275 call setline(1, [repeat('a', 51) . 'bcd', '']) 292 call assert_equal(repeat([attrs[0]], 4), attrs[0:3]) 432 call setline(1, ' ' . repeat('a', 9) . 'bcd') 582 \ 'call setline(1, repeat(["abc"], 50))', [all …]
|
| H A D | test_matchfuzzy.vim | 23 call assert_equal(256, matchfuzzy([repeat('a', 256)], repeat('a', 256))[0]->len()) 24 call assert_equal([], matchfuzzy([repeat('a', 300)], repeat('a', 257))) 107 let x = matchfuzzypos([repeat('a', 256)], repeat('a', 256)) 109 call assert_equal([[], [], []], matchfuzzypos([repeat('a', 300)], repeat('a', 257))) 113 call assert_equal([[repeat('x', 300) .. 'abc'], [[300, 301, 302]], [-135]], 114 \ matchfuzzypos([repeat('x', 300) .. 'abc'], 'abc')) 210 let x = matchfuzzypos([repeat('Ψ', 256)], repeat('Ψ', 256)) 212 call assert_equal([[], [], []], matchfuzzypos([repeat('✓', 300)], repeat('✓', 257))) 219 call assert_equal([[repeat('ぶ', 300) .. 'ẼẼẼ'], [[300, 301, 302]], [-135]], 220 \ matchfuzzypos([repeat('ぶ', 300) .. 'ẼẼẼ'], 'ẼẼẼ'))
|
| H A D | test_increment.vim | 27 call setline(1, repeat(["foobaar-10"], 5)) 153 call setline(1, repeat(["a"], 4)) 173 call setline(1, repeat(["z"], 4)) 225 call setline(1, repeat(["0x9"], 2)) 230 call setline(1, repeat(["0x9"], 2)) 275 call setline(1, repeat(["1"], 4)) 311 call setline(1, repeat(["0 0"], 3)) 355 call setline(1, repeat(["1 1"], 2)) 427 " 18) repeat of g<Ctrl-a> 441 call setline(1, repeat(["0"], 4)) [all …]
|
| H A D | test_cursorline.vim | 31 call setline(1, repeat(['aaaa'], 10)) 34 call assert_equal(repeat([attr01[0]], 8), attr01) 39 call assert_equal(repeat([attr11[0]], 4), attr11[0:3]) 40 call assert_equal(repeat([attr11[4]], 4), attr11[4:7]) 47 call assert_equal(repeat([attr21[0]], 4), attr21[0:3]) 48 call assert_equal(repeat([attr21[4]], 4), attr21[4:7]) 70 call setline(1, repeat(['aaaa'], 10)) 73 call assert_equal(repeat([attr0[0]], 8), attr0)
|
| H A D | test_timers.vim | 40 let timer = timer_start(50, 'MyHandler', {'repeat': 3}) 58 let timer = timer_start(50, 'MyHandler', {'repeat': -1}) 105 call assert_equal(1, info[0]['repeat']) 176 let t = timer_start(10, 'StopMyself', {'repeat': -1}) 256 let timer = timer_start(10, 'FuncWithError', {'repeat': -1}) 278 let timer = timer_start(10, 'FuncWithCaughtError', {'repeat': 4}) 328 let timer = timer_start(40, function('g:Foo'), {'repeat':-1}) 424 let timer = timer_start(1000, function('MyHandler'), {'repeat' : 10}) 467 echon repeat('x', &columns - 11)
|
| H A D | test_display.vim | 54 \ "+ +-- 12 lines: 2". repeat("\u2500", 23). "\u2502", 63 \ "+ +-- 12 lines: 2". repeat("-", 23). "|", 112 call append(0, repeat('aaa aaa aa ', 10)) 113 call append(1, repeat(['bbb bbb bbb bbb'], 2)) 190 let longName = 'x'->repeat(min([&columns, 255])) 252 call term_sendkeys(buf, ":call setline(1, repeat('a', 21))\<CR>") 342 call setline(1, repeat('x', winwidth(0) - 2) .. ')abc')
|
| H A D | test_listlbr.vim | 77 call setline(1, "1\t" . repeat('a', winwidth(0)-2)) 158 call setline(1, "long line: " . repeat("foobar ", 40) . "TARGET at end") 220 call setline(1, repeat("a", 150)) 222 call assert_equal(repeat("a", 146) . "0aaa", getline(1)) 223 call assert_equal(repeat("a", 146) . "0aaa", getline(2))
|
| H A D | test_hlsearch.vim | 7 call setline(1, repeat(['aaa'], 10)) 42 call setline(1, ['aaa', repeat('abc ', 1000), 'ccc']) 56 call append(1, repeat([''], 9))
|
| H A D | test_sort.vim | 1467 call append(0, repeat([1], 3) + repeat([2], 3) + repeat([3], 3)) 1475 call append(0, repeat([1], 3) + repeat([2], 3) + repeat([3], 3)) 1483 call append(0, repeat([1], 3) + repeat([2], 3) + repeat([3], 3))
|
| H A D | test_search.vim | 40 call feedkeys("/the".repeat("\<C-G>", 2)."\<cr>", 'tx') 44 call feedkeys("/the".repeat("\<C-G>", 3)."\<cr>", 'tx') 48 call feedkeys("/the".repeat("\<C-G>", 4)."\<cr>", 'tx') 52 call feedkeys("/the".repeat("\<C-G>", 5)."\<cr>", 'tx') 56 call feedkeys("/the".repeat("\<C-G>", 6)."\<cr>", 'tx') 60 call feedkeys("/the".repeat("\<C-G>", 7)."\<cr>", 'tx') 64 call feedkeys("/the".repeat("\<C-G>", 8)."\<cr>", 'tx') 82 call feedkeys("/the".repeat("\<C-G>", 2)."\<cr>", 'tx') 86 call feedkeys("/the".repeat("\<C-G>", 3)."\<cr>", 'tx') 893 \ 'let dots = repeat(".", 120)', [all …]
|
| H A D | test_packadd.vim | 198 call feedkeys(":packadd " . repeat("\<Tab>", 2) . "')\<C-B>call add(li, '\<CR>", 't') 199 call feedkeys(":packadd " . repeat("\<Tab>", 3) . "')\<C-B>call add(li, '\<CR>", 't') 200 call feedkeys(":packadd " . repeat("\<Tab>", 4) . "')\<C-B>call add(li, '\<CR>", 'tx') 301 call feedkeys(":colorscheme " . repeat("\<Tab>", 1) . "')\<C-B>call add(li, '\<CR>", 't') 302 call feedkeys(":colorscheme " . repeat("\<Tab>", 2) . "')\<C-B>call add(li, '\<CR>", 't') 303 call feedkeys(":colorscheme " . repeat("\<Tab>", 3) . "')\<C-B>call add(li, '\<CR>", 't') 304 call feedkeys(":colorscheme " . repeat("\<Tab>", 4) . "')\<C-B>call add(li, '\<CR>", 'tx')
|
| H A D | test_arglist.vim | 200 let long_arg = repeat('X', 81) 228 let aarg = repeat('a', &columns / 2 - 4) 229 let barg = repeat('b', &columns / 2 - 4) 230 let carg = repeat('c', &columns / 2 - 4) 231 let darg = repeat('d', &columns / 2 - 4) 241 let aarg = repeat('a', &columns / 2 + 2) 519 exe 'argadd ' .repeat('x', &columns)
|
| H A D | test_listlbr_utf8.vim | 166 call setline(1, "long line: " . repeat("foobar ", 40) . "TARGETÃ' at end") 226 call setline(1, repeat("\x80", 6)) 239 call setline(1, repeat('a', 17) . repeat('あ', 2))
|
| H A D | test_marks.vim | 31 call setline(1, ['']->repeat(6)) 175 call setline(1, [repeat('á', &columns)]) 180 let expected = ' a 1 0 ' . repeat('á', &columns - 16) 239 call append(0, repeat(['sky is blue'], 4))
|
| H A D | test_viminfo.vim | 180 let long800 = repeat(" 'eight'", 100) 184 let long1400 = repeat(" 'fourteeeeen'", 100) 361 let s = repeat('a', len) 379 " repeat the test with '"' instead of '<' 539 call setline(1, repeat(['match here'], 101)) 706 call writefile(repeat(['vim'], 10), 'Xfile1') 852 call writefile(repeat(["a 123"], 15), 'Xviminfo') 858 call writefile(repeat(['"@'], 15), 'Xviminfo') 931 call extend(lines, repeat(["\tsun is rising"], 200)) 980 call writefile(repeat(['editor'], 10), 'Xbufa') [all …]
|
| H A D | test_put.vim | 49 call setline(1, repeat(['A'], 6)) 154 let @" = repeat('x', 100) 173 call setline(1, repeat('x', 100))
|
| H A D | test_file_size.vim | 44 call append(1, repeat(["This is the leader"], 3001)) 46 call append(3003, repeat(["This is the trailer"], 3001))
|
| /vim-8.2.3635/runtime/indent/ |
| H A D | rpl.vim | 14 setlocal indentkeys+==~end,=~case,=~if,=~then,=~else,=~do,=~until,=~while,=~repeat,=~select,=~defau… 31 " case, select, default, do, until, while, repeat, for, start 34 …elseif prevstat =~? '\<\(if\|iferr\|then\|else\|elseif\|select\|case\|do\|until\|while\|repeat\|fo… 38 " Subtract a shiftwidth from then, else, elseif, end, until, repeat, next, 41 if line =~? '^\s*\(then\|else\|elseif\|until\|repeat\|next\|step\|default\|end\)\>'
|
| H A D | hamster.vim | 20 setlocal indentkeys+==~do,=~until,=~while,=~repeat,=~for,=~loop 40 if prevline =~? '^\s*\<\(if\|else\%(if\)\?\|for\|repeat\|do\|while\|sub\)\>'
|
| H A D | lua.vim | 36 " 'function', 'if', 'for', 'while', 'repeat', 'else', 'elseif', '{' 39 …let midx = match(prevline, '^\s*\%(if\>\|for\>\|while\>\|repeat\>\|else\>\|elseif\>\|do\>\|then\>\…
|
| /vim-8.2.3635/runtime/ftplugin/ |
| H A D | cobol.vim | 106 function! s:repeat(str,count) 156 let tail = s:repeat(" ",4-indent).tail 159 let tail = s:repeat(" ",shift*sw).tail 196 return s:repeat(c,interval) 212 return s:repeat(c,interval) 228 return s:repeat(" ",s:increase(col('.')-1))
|
| /vim-8.2.3635/src/ |
| H A D | time.c | 450 create_timer(long msec, int repeat) in create_timer() argument 462 if (repeat != 0) in create_timer() 463 timer->tr_repeat = repeat - 1; in create_timer() 825 int repeat = 0; in f_timer_start() local 848 repeat = dict_get_number(dict, (char_u *)"repeat"); in f_timer_start() 855 timer = create_timer(msec, repeat); in f_timer_start()
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | usr_26.txt | 9 several times. In this chapter a number of useful ways to repeat a change 44 Obviously, you can repeat these changes several times. 65 Use "n" to find the next year, and press "." to repeat the CTRL-A ("." is a 81 The "1." will change to "4.". Again, you can use "." to repeat this on the 162 The for-done loop is a shell construct to repeat the two lines in between,
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | RstFold.vim | 19 let key = repeat(lines[-1][0], len(lines)) 57 let indent = repeat(' ', b:RstFoldCache[v:foldstart] - 1)
|
| H A D | csscomplete.vim | 9 …repeat background-size block-size border border-block-end border-block-end-color border-block-end-… 164 elseif prop == 'background-repeat' 165 let values = ["repeat", "repeat-x", "repeat-y", "no-repeat"] 169 …e"] + ["top", "center", "bottom", "left", "right"] + ["repeat", "repeat-x", "repeat-y", "no-repeat… 432 let values = ["none", "repeat("]
|