Home
last modified time | relevance | path

Searched refs:eol (Results 1 – 25 of 55) sorted by relevance

123

/vim-8.2.3635/src/testdir/
H A Dtest_fixeol.vim1 " Tests for 'fixeol' and 'eol'
8 call setline('.', 'with eol')
12 call setline('.', 'without eol')
14 set eol fixeol
19 normal ostays eol
37 call assert_equal(['with eol', 'END'], readfile('XXEol'))
39 call assert_equal(['with eol', 'stays eol', 'END'], readfile('XXTestEol'))
40 call assert_equal(['without eol', 'stays withoutEND'],
47 set ff& fixeol& eol&
H A Dtest_listchars.vim357 set listchars=eol:$,space:_,nbsp:=
387 setlocal listchars=tab:+-,eol:#
388 call s:CheckListCharsValue('tab:+-,eol:#')
391 call s:CheckListCharsValue('eol:$')
395 call s:CheckListCharsValue('eol:$')
399 call s:CheckListCharsValue('eol:$')
402 setglobal listchars=tab:+-,eol:#
409 call s:CheckListCharsValue('eol:$')
419 set listchars=tab:+-+,lead:^,space:>,trail:<,eol:%
435 set listchars=tab:[.],lead:#,space:_,trail:.,eol:&
[all …]
H A Dtest_backspace_opt.vim8 set backspace=eol
9 call assert_equal('eol', &backspace)
18 set backspace+=eol
19 call assert_equal('indent,eol', &backspace)
21 call assert_equal('indent,eol,start', &backspace)
23 call assert_equal('indent,eol,start,nostop', &backspace)
26 call assert_equal('indent,eol,start', &backspace)
28 call assert_equal('eol,start', &backspace)
30 call assert_equal('eol', &backspace)
31 set backspace-=eol
[all …]
H A Dgen_opt_test.vim66 \ 'backspace': [[0, 2, 3, '', 'eol', 'eol,start', 'indent,eol,nostop'], ['4', 'xxx']],
117 \ 'listchars': [['', 'eol:x', 'eol:x,space:y'], ['xxx']],
H A Dtest_listlbr_utf8.vim44 call s:test_windows("setl list listchars=nbsp:\u2423,tab:\u2595\u2014,trail:\u02d1,eol:\ub6")
59 …:test_windows("setl nolinebreak list listchars=nbsp:\u2423,tab:\u2595\u2014,trail:\u02d1,eol:\ub6")
150 …call s:test_windows("setl ft=c ts=7 list listchars=nbsp:\u2423,tab:\u2595\u2014,trail:\u02d1,eol:\…
186 …_windows("setl nolinebreak cc=3 list listchars=nbsp:\u2423,tab:\u2595\u2014,trail:\u02d1,eol:\ub6")
H A Dtest_writefile.vim754 " when file is read 'eol' is off
757 call assert_equal(0, &eol)
759 " writing with 'eol' set adds the newline
760 setlocal eol
910 " create a file without an eol/eof character
H A Dtest_join.vim266 set backspace=eol,start
383 set backspace=eol,start
H A Dtest_virtualedit.vim301 " visual characterwise selection replace after eol
380 set backspace=indent,eol,start
H A Dtest_listlbr.vim242 call s:test_windows('setl list listchars=space:_,trail:-,tab:>-,eol:$')
H A Dtest_textformat.vim944 set backspace=indent,eol,start
964 set bs=indent,eol,start
/vim-8.2.3635/src/libvterm/t/
H A Dharness.c433 int eol = rect.end_col; in screen_damage() local
434 while(eol > rect.start_col) { in screen_damage()
438 pos.col = eol-1; in screen_damage()
443 eol--; in screen_damage()
446 if(eol == rect.start_col) in screen_damage()
453 for(col = rect.start_col; col < eol; col++) { in screen_damage()
473 int eol; in screen_sb_pushline() local
479 eol = cols; in screen_sb_pushline()
480 while(eol && !cells[eol-1].chars[0]) in screen_sb_pushline()
481 eol--; in screen_sb_pushline()
[all …]
/vim-8.2.3635/src/proto/
H A Dtextobject.pro5 int fwd_word(long count, int bigword, int eol);
8 int bckend_word(long count, int bigword, int eol);
/vim-8.2.3635/src/
H A Dtextobject.c364 int eol) in fwd_word() argument
390 if (i >= 1 && eol && count == 0) // started at last char in line in fwd_word()
400 if (i == -1 || (i >= 1 && eol && count == 0)) in fwd_word()
416 if (i == -1 || (i >= 1 && eol && count == 0)) in fwd_word()
565 int eol) // TRUE: stop at end of line. in bckend_word() argument
577 if (eol && i == 1) in bckend_word()
586 if ((i = dec_cursor()) == -1 || (eol && i == 1)) in bckend_word()
597 if ((i = dec_cursor()) == -1 || (eol && i == 1)) in bckend_word()
H A Ddrawline.c252 int lcs_eol_one = wp->w_lcs_chars.eol; // eol until it's been used in win_line()
2282 if (wp->w_p_list && wp->w_lcs_chars.eol > 0) in win_line()
2283 c = wp->w_lcs_chars.eol; in win_line()
2386 wp->w_lcs_chars.eol > 0))) in win_line()
2636 if (wp->w_lcs_chars.eol == lcs_eol_one in win_line()
3080 || (wp->w_p_list && wp->w_lcs_chars.eol != NUL in win_line()
H A Dmessage.c1875 if (*s == NUL && !(list && curwin->w_lcs_chars.eol != NUL)) in msg_prt_line()
1951 else if (c == NUL && list && curwin->w_lcs_chars.eol != NUL) in msg_prt_line()
1957 c = curwin->w_lcs_chars.eol; in msg_prt_line()
/vim-8.2.3635/runtime/syntax/
H A Dhaskell.vim26 " 2004 Feb 19: Added C preprocessor directive handling, corrected eol comments
30 " in eol comment character class
H A Dkwt.vim17 " Don't stop at eol, messes around with CPP mode, but gives line spanning
H A Djulia.vim387 let s:eol = '\s*\%(\%(\%(#=\%(=#\@!\|[^=]\|\n\)\{-}=#\)\s*\)\+\)\?\%(#=\@!.*\)\?\n'
393 exec 'syntax region juliaContinuationComma matchgroup=juliaComma contained start=",\ze'.s:eol.'" e…
394 exec 'syntax region juliaContinuationColon matchgroup=juliaColon contained start=":\ze'.s:eol.'" e…
395 …ontained start="\%(\<\%(import\|using\|export\)\>\|^\)\@'.s:d(6).'<=\ze'.s:eol.'" end="\n\+\ze." c…
H A Dtcsh.vim109 \ vi-beginning-of-next-word vi-add vi-add-at-eol vi-chg-case
110 \ vi-chg-meta vi-chg-to-eol vi-cmd-mode vi-cmd-mode-complete
H A Dreadline.vim306 \ vi-append-eol
H A Dslrnrc.vim136 syn keyword slrnrcFunRead contained bdel bol complete cycle del delbol delbow deleol down enter eol
/vim-8.2.3635/runtime/indent/
H A Dmp.vim90 let s:eol = '\s*\%($\|%\)'
337 if s:ValidMatchEnd(prev_text, ';'.s:eol, 0) >= 0 " L ends with a semicolon
H A Dawk.vim198 " if/for/while (cond) eol
/vim-8.2.3635/runtime/
H A Dmswin.vim21 set backspace=indent,eol,start whichwrap+=<,>,[,]
H A Ddefaults.vim36 set backspace=indent,eol,start

123