Commit Graph

18 Commits (45fe87c9e3783820c22fb92dc467db4574248eb7)

Author SHA1 Message Date
Delyan Angelov 4da2908d63
vdoc: fix panic on empty `//` comment on `v doc -f html file.v`; turn `expected code block after empty example` to a warning 2022-05-03 00:02:12 +03:00
Alexander Medvednikov d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Nick Treleaven 7d8db1042d
vdoc: don't highlight less than expression as generic function (#13938) 2022-04-05 05:58:47 +03:00
Nick Treleaven 2cd9c91e98
vdoc: highlight terminal examples for `-comments -color` (#13937) 2022-04-04 18:13:24 +03:00
Nick Treleaven 91b40304b7
vdoc: highlight `..`, `...` as punctuation & postfix ops as operators (#13924) 2022-04-04 09:21:54 +03:00
Nick Treleaven d10135e2c4
vdoc: HTML highlight generic function as function, not name (#13923) 2022-04-03 23:41:02 +03:00
Benjamin Stigsen ceb05b163a
strings: rename Builder.write_b() to Builder.write_byte(), add deprecation (#13313) 2022-01-28 20:34:44 +02:00
yuyi 108a01d65f
fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
Lukas Neubert 0eb59cf2bd
fmt: prevent possible trailing whitespace in wrapped infixes (#9573) 2021-04-03 18:30:25 +02:00
Alexander Medvednikov 7385f8e56b all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
Delyan Angelov ae6420afc7
tools: fix `substring in s` usages, preventing `v -W build-tools` 2021-03-23 13:36:50 +02:00
Swastik Baranwal f28e67d526
cmd/tools/v/vdoc: keep `_` sep in numeric literals and highlight modules properly (#9358) 2021-03-18 15:06:16 +02:00
Swastik Baranwal 2e84773ef1
cmd/tools/vdoc: highlight nested string quotes properly (#9341) 2021-03-17 09:50:22 +02:00
Delyan Angelov 0c620a78bf
vdoc: highlight keywords in bright_blue 2021-03-16 12:24:34 +02:00
Swastik Baranwal 0b0e96a8cd
vdoc: improve syntax highlighting (#9323) 2021-03-16 12:05:36 +02:00
Swastik Baranwal 26138f98af
v doc: implement color highlighting for the stdout format, enable it by default (#9312) 2021-03-15 13:21:19 +02:00
Lukas Neubert cfe9f6d5d3
help: remove http doc server options (#8839) 2021-02-21 16:18:50 +02:00
Larpon b299fb1e92
vdoc: heavy refactor, immutable config (#7945) 2021-01-08 12:25:22 +02:00