1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: add a small comment about f.line_len

This commit is contained in:
Delyan Angelov 2021-02-16 10:22:39 +02:00
parent ad20b3806f
commit 0bbc5a5c6a
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -25,7 +25,7 @@ pub mut:
out strings.Builder
indent int
empty_line bool
line_len int
line_len int // the current line length, NB: it counts \t as 4 spaces, and starts at 0 after f.writeln
buffering bool // disables line wrapping for exprs that will be analyzed later
par_level int // how many parentheses are put around the current expression
array_init_break []bool // line breaks after elements in hierarchy level of multi dimensional array