Queste sono le mie opzioni di formato in Vimrc:Come si formatta come indicato di seguito?
set formatoptions=tqronw
set formatlistpat=^\\([\\-\\*]\\\|[0-9]\\+[.)]\\)\\s*
set textwidth=72
set autoindent
1)
Il mio testo:
- This is my text this is my text this is my text this is my text this is my text this is my text.
uscita dopo la formattazione:
- This is my text this is my text this is my text this is my text this is my
text this is my text.
uscita prevista:
- This is my text this is my text this is my text this is my text this is my
text this is my text.
2)
Il mio testo:
for Biochemistry, conducted a quality clinical study to determine the effects of microwave cooking on food
uscita dopo la formattazione:
for Biochemistry, conducted a quality clinical study to determine the
effects of microwave cooking on food
uscita prevista:
for Biochemistry, conducted a quality clinical study to determine the
effects of microwave cooking on food
Modifica
trovato la soluzione per la mia prima domanda :)
Non c'erano (senza spazi di rottura) (no-visibile) di nbsp nel testo.
Quando ho fatto un sostituto con spazi normali, la formattazione era come previsto
Per rendere gli spazi non divisibili distinguibili con spazi uso normale 'nell'elenco di LCS = scheda: \ \, nbsp: _' (ha anche senso di usare qualcosa di diverso, allora' scheda: \ \ 'qui per vedere le schede pure). Nessuna delle opzioni metterà in evidenza nessuno degli altri spazi Unicode con larghezza diversa, ma è probabile che tutti abbiano lo stesso effetto di uno spazio non interrotto. – ZyX