As far as I know, it isn't possible to adjust whether wrapping is enabled on a line-by-line basis. However, if you're comfortable with having your lists be wrapped on subsequent lines, you can set the following:
set autoindent
set formatoptions+=n
set formatlistpat=^[-*+?]\+\s\+
That will result in long item lines looking like this:
- This is one single, very, extremely long
item.
- This is the second item.
That will also have the same effect if you use the gq
motion to format. In both cases, Vim won't wrap the list items together.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…