Lines Matching refs:set
8 set fileformat&
16 exec 'set fileformats='.test_fileformats
19 set fileformats&
26 au BufReadPre Xfile set ffs=dos ff=dos
42 call assert_fails('set fileformat=latin1', 'E21:')
83 set fileformats=
85 " try with 'fileformat' set to 'unix'
86 set fileformat=unix
98 " try with 'fileformat' set to 'dos'
99 set fileformat=dos
111 " try with 'fileformat' set to 'mac'
112 set fileformat=mac
124 " Test 2: try reading and writing with 'fileformats' set to one format
126 " try with 'fileformats' set to 'unix'
127 set fileformats=unix
134 " try with 'fileformats' set to 'dos'
135 set fileformats=dos
142 " try with 'fileformats' set to 'mac'
143 set fileformats=mac
150 " Test 3: try reading and writing with 'fileformats' set to two formats
152 " try with 'fileformats' set to 'unix,dos'
153 set fileformats=unix,dos
170 " try with 'fileformats' set to 'unix,mac'
171 set fileformats=unix,mac
194 " try with 'fileformats' set to 'dos,mac'
195 set fileformats=dos,mac
220 " Test 4: try reading and writing with 'fileformats' set to three formats
221 set fileformats=unix,dos,mac
234 set fileformats=mac,dos,unix
247 " Test 5: try with 'binary' set
248 set fileformats=mac,unix,dos
249 set binary
256 set fileformats=mac
263 set fileformats=dos
275 set nobinary ff& ffs&
298 set ff=unix
307 set fileformat&
320 call RunVim(["set ffs=dos,unix,mac"], after, '')
321 call RunVim(["set ffs=mac,dos,unix"], after, '')
322 call RunVim(["set ffs=unix,mac,dos"], after, '')