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

81 Commits

Author SHA1 Message Date
Nick Treleaven
9e751f72c4
doc, fmt: use map{key: value} syntax for map literals (#8623) 2021-02-08 16:57:42 +02:00
Lukas Neubert
473cd1d416
fmt: single line ternary return (#8605) 2021-02-08 00:28:46 +01:00
Lukas Neubert
7f4c582f1a
fmt: unwrap long infix exprs inside parenthesis if necessary (#8609) 2021-02-07 23:10:39 +01:00
Ned Palacios
d7d069adc4
vdoc: set max-width to img; do not stretch to page container (#8410) 2021-01-29 14:49:06 +01:00
Delyan Angelov
e5a84719ca
all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +02:00
Delyan Angelov
dbaccd4272
vfmt: shorten main.const_name to just const_name 2021-01-25 20:57:33 +02:00
Delyan Angelov
728344ff65
ci: fix v test-cleancode 2021-01-25 12:55:01 +02:00
Alexander Medvednikov
29d6e40f29 all: vfmt (new const rule) 2021-01-24 10:54:27 +01:00
Lukas Neubert
522eac200f
fmt: keep arr << if x {} else {} on a single line (#8289) 2021-01-24 08:02:35 +01:00
Lukas Neubert
8b61891348
fmt: smarter if condition wrapping (#8201) 2021-01-23 10:33:22 +02:00
Daniel Däschle
b4a542c51c
vdoc: implement advanced search on mobile layout (#8176) 2021-01-18 06:04:59 +01:00
Lukas Neubert
16c9cbce7c
fmt: correctly increase f.line_len for write_indent (#8174) 2021-01-18 06:02:29 +01:00
Daniel Däschle
53941c4a0a
fmt: fix if cond break readability (#8132) 2021-01-16 02:12:17 +01:00
zakuro
33694665f0
fmt: align each contiguous field of struct. not the whole. (#7981) 2021-01-12 04:38:43 +01:00
Uwe Krüger
5f95dd54bd
builtin: rename any_* -> *_literal - 2. part (#8032) 2021-01-11 22:58:15 +01:00
Larpon
362c21de06
vdoc: remove http doc server (#7984) 2021-01-09 22:47:58 +01:00
Larpon
78376a0250
vdoc: don't escape < and > in README, fixes #7951 (#7960) 2021-01-08 17:44:19 +01:00
Larpon
b299fb1e92
vdoc: heavy refactor, immutable config (#7945) 2021-01-08 12:25:22 +02:00
Larpon
30a2f125ef
doc: add comment example support (#7924) 2021-01-06 19:43:43 +01:00
hazohelet
a02de42450
vdoc: escape < and > before creating md (#7895) 2021-01-05 19:16:56 +01:00
Lukas Neubert
55d5b9e724
vdoc: include readme link in toc (#7871) 2021-01-05 01:40:21 +01:00
Lukas Neubert
4f5db46bc2
vdoc: prefix for head section id (#7866) 2021-01-04 20:00:18 +02:00
Delyan Angelov
90839a1b76
vdoc: fix markdown content indentation 2021-01-02 23:17:54 +02:00
Lukas Neubert
38c764f0ce
vdoc: fix toc Constants link (#7810) 2021-01-02 20:18:17 +02:00
Lukas Neubert
9980de39c3
vdoc: remove 's' between paragraphs (#7811) 2021-01-02 19:52:45 +02:00
NTBBloodbath
c8caf71282
vdoc: fix the indentation of the generated html file (#7802) 2021-01-02 11:11:34 +02:00
Daniel Däschle
7bd0c5bc03
vdoc: search fix titles (#7681) 2020-12-29 21:01:12 +02:00
Daniel Däschle
d69993a40e
vdoc: implement advanced search (beta) (#7630) 2020-12-29 13:51:24 +02:00
Daniel Däschle
5c4c5042b3
vdoc: fix scrollbar on mobile (#7614) 2020-12-27 16:14:16 +02:00
Lukas Neubert
06fdf34214
fmt: unwrap long single line ifs (#7608) 2020-12-27 14:20:30 +01:00
Daniel Däschle
929a002229
vdoc: move to it's own directory cmd/tools/vdoc/ (#7606) 2020-12-27 14:43:23 +02:00