24 lines
792 B
Plaintext
24 lines
792 B
Plaintext
Execute (Setup):
|
|
set textwidth=79
|
|
let g:vimtex_format_enabled = 1
|
|
silent! VimtexReload
|
|
|
|
Given tex (Format inline comment):
|
|
Lorem ipsum dolor sit amet, consetetur sadipscing % a comment
|
|
elitr, sed diam
|
|
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
|
|
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
|
|
rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
|
|
ipsum dolor sit amet.
|
|
|
|
Do:
|
|
gqG
|
|
|
|
Expect tex:
|
|
Lorem ipsum dolor sit amet, consetetur sadipscing % a comment
|
|
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
|
|
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores
|
|
et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
|
|
dolor sit amet.
|
|
|