Lines Matching refs:comments
1 " Tests for the various flags in the 'comments' option
3 " Test for the 'n' flag in 'comments'
6 setlocal comments=n:> fo+=ro
23 " Test for the 'b' flag in 'comments'
26 setlocal comments=b:* fo+=ro
42 " Test for the 'f' flag in 'comments' (only the first line has a comment
46 setlocal comments=f:- fo+=ro
50 setlocal comments=:-
56 " Test for the 's', 'm' and 'e' flags in 'comments'
81 " Test for the 'r' flag in 'comments' (right align comment)
84 setlocal comments=sr:/***,m:**,ex-2:******/ fo+=ro
103 " Test for the 'O' flag in 'comments'
106 setlocal comments=Ob:* fo+=ro
138 set tw=2 fo=cqm comments=n:X
187 set tw& fo& comments&
191 " Test for a space character in 'comments' setting
194 setlocal comments=b:\ > fo+=ro
211 " Test for formatting lines with and without comments
220 " Test for using 'a' in 'formatoptions' with comments
243 " Test for joining lines with comments ('j' flag in 'formatoptions')
246 setlocal fo+=j comments=://
254 " Test with nested comments
255 setlocal fo+=j comments=n:>,n:)