Consider the following code:
\usemodule[vim]
\definevimtyping
[somecode]
[numbering=yes,lines=split]
\starttext
\startsomecode
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
\stopsomecode
\stoptext
It is obvious that the code line (which is of course not actual code) is rather long, but it is one line. In the output one will see:
Note that line numbers have been introduced that do not reflect the line numbers in source. Is it possible to get the "original" line numbering in the output?
Bonus: If there is an option, does anyone know of a way to indent text after a line wrap?
set texwdith
.vimrc option by default. Did you try using a .vimrc that would turn off line breaks?numbering=yes,lines=split
” What did you expect?