Home
last modified time | relevance | path

Searched refs:fileformat (Results 1 – 25 of 54) sorted by relevance

123

/vim-8.2.3635/src/testdir/
H A Dtest_fileformat.vim1 " Test for 'fileformat'
8 set fileformat&
9 if &fileformat == 'dos'
11 elseif &fileformat == 'unix'
86 set fileformat=unix
98 " try with 'fileformat' set to 'dos'
99 set fileformat=dos
112 set fileformat=mac
300 r ++fileformat=unix Xfile1
307 set fileformat&
[all …]
H A Dtest77a.in23 :set fileformat=unix undolevels=-1
31 :set fileformat&
H A Dtest_file_size.vim17 set fileformat=unix undolevels=-1
30 set fileformat& undolevels&
H A Dtest_ga.vim36 " When using Mac fileformat, CR instead of NL is used for line termination
38 set fileformat=mac
H A Dtest_wordcount.vim6 set selection=inclusive fileformat=unix fileformats=unix
100 set selection& fileformat& fileformats&
H A Dtest_statusline.vim89 set fileformat=dos
91 set fileformat=mac
93 set fileformat=unix
95 set fileformat&
H A Dtest_fixeol.vim5 " use Unix fileformat for consistency
H A DMake_ming.mak95 # Copy the input files to dostmp, changing the fileformat to dos.
H A DMake_dos.mak83 # Copy the input files to dostmp, changing the fileformat to dos.
H A Dgen_opt_test.vim95 \ 'fileformat': [['', 'dos', 'unix'], ['xxx']],
H A Dtest_xxd.vim58 " For these tests to pass, the fileformat must be "unix".
H A Dtest_functions.vim1018 call assert_equal('dos', getbufvar(bufnr('%'), '&fileformat'))
1165 set fileformat=unix
1171 set fileformat=mac
1177 set fileformat=dos
1187 let &fileformat = ff
1192 set endofline& fixendofline& fileformat&
H A Dtest_recover.vim47 set fileformat=unix undolevels=-1
/vim-8.2.3635/runtime/ftplugin/
H A Dmail.vim33 let b:undo_ftplugin ..= " fileformat=" .. &fileformat
34 setlocal fileformat=dos
H A Dflexwiki.vim37 setlocal fileformat=unix
/vim-8.2.3635/src/
H A Dfileio.c2079 if (fileformat == EOL_UNKNOWN) in readfile()
2094 fileformat = EOL_DOS; in readfile()
2096 fileformat = EOL_UNIX; in readfile()
2121 fileformat = EOL_MAC; in readfile()
2127 fileformat = default_fileformat(); in readfile()
2132 fileformat = EOL_MAC; in readfile()
2135 if (fileformat == EOL_UNKNOWN) in readfile()
2148 if (fileformat == EOL_MAC) in readfile()
2204 if (fileformat == EOL_DOS) in readfile()
2226 fileformat = EOL_UNIX; in readfile()
[all …]
H A Dscriptfile.c1253 cookie.fileformat = EOL_DOS; in do_source()
1255 cookie.fileformat = EOL_UNKNOWN; in do_source()
1663 && sp->fileformat == EOL_DOS in get_one_sourceline()
1682 if (sp->fileformat == EOL_UNKNOWN) in get_one_sourceline()
1685 sp->fileformat = EOL_DOS; in get_one_sourceline()
1687 sp->fileformat = EOL_UNIX; in get_one_sourceline()
1690 if (sp->fileformat == EOL_DOS) in get_one_sourceline()
1706 sp->fileformat = EOL_UNIX; in get_one_sourceline()
H A Dbufwrite.c678 int fileformat; in buf_write() local
2015 fileformat = get_fileformat_force(buf, eap); in buf_write()
2032 else if (c == CAR && fileformat == EOL_MAC) in buf_write()
2068 if (fileformat == EOL_UNIX) in buf_write()
2073 if (fileformat == EOL_DOS) // write CR-NL in buf_write()
2397 if (msg_add_fileformat(fileformat)) in buf_write()
/vim-8.2.3635/runtime/doc/
H A Dusr_23.txt51 The detected file format is stored in the 'fileformat' option. To see
54 :set fileformat?
93 'fileformat'. You could also use "++ff=mac" or "++ff=dos".
95 implemented. The full names "++fileformat" and "++encoding" also work.
100 You can use the 'fileformat' option to convert from one file format to
109 :set fileformat=unix
287 bytes. This takes into account how 'fileformat' changes the number of bytes
H A Dediting.txt240 empty, the 'fileformat' of the current buffer is used.
245 Set 'fileformat' like |:enew|.
458 The [++opt] argument can be used to force the value of 'fileformat',
466 ff or fileformat overrides 'fileformat'
477 This edits the same file again with 'fileformat' set to "unix". >
524 The 'fileformat' option sets the <EOL> style for a file:
525 'fileformat' characters name ~
542 :set fileformat=unix
548 :set fileformat=dos
564 message "[mac format]" if 'fileformat' is set to "mac".
[all …]
H A Dos_dos.txt219 If the 'fileformat' option is set to "dos" (which is the default), Vim accepts
224 If the 'fileformat' option is set to "unix", Vim uses a single <NL> for <EOL>
232 Vim sets 'fileformat' automatically when 'fileformats' is not empty (which is
234 |'fileformat'| |'fileformats'|
H A Dinsert.txt315 Also see 'fileformat'.
2055 The effect is that the 'fileformat', 'fileencoding', 'bomb', etc. options are
2060 The 'fileformat' option sets the <EOL> style for a file:
2061 'fileformat' characters name ~
2067 If 'fileformat' is "dos", a <CR> in front of an <NL> is ignored and a CTRL-Z
2070 If 'fileformat' is "mac", a <NL> in the file is internally represented by a
2075 <EOL> (see |file-formats|). However, the 'fileformat' option will not be
2103 [CR missing] reading with "dos" 'fileformat' and a
2105 [NL found] reading with "mac" 'fileformat' and a
H A Dindent.txt824 If you are editing a file in Unix 'fileformat' and '\r' characters are present
886 To automatically remove '\r' characters when the 'fileformat' is set to Unix: >
/vim-8.2.3635/runtime/spell/ca/
H A Dmain.aap33 # Make sure the files are in Unix fileformat
/vim-8.2.3635/runtime/syntax/
H A Dtt2.vim33 " Changed fileformat from 'dos' to 'unix'

123