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

26 Commits

Author SHA1 Message Date
yuyi
4ba4fe7c25
vdoc: highlight comments with gray color (#18436) 2023-06-14 14:57:59 +03:00
Swastik Baranwal
8873127687
v doc: properly highlight the new generics syntax [] in the CLI results of v doc arrays etc (#16703) 2022-12-19 12:12:46 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
yuyi
51f4d99399
all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
Swastik Baranwal
f7f0e0b5dc
v doc: remove int_literal and float_literal from syntax highlighting, since they are internal types (#16066) 2022-10-13 20:49:34 +03:00
Swastik Baranwal
d08edf8cba
vdoc: highlight generic struct everywhere (#15506) 2022-08-23 15:21:26 +03:00
Swastik Baranwal
a1de8f5f98
vdoc: highlight variadic function parameters (#15474) 2022-08-20 12:02:50 +03:00
Swastik Baranwal
22a79cfa1e
v doc: add highlighting for new types and fix highlighting for edge cases (#15455) 2022-08-18 18:06:55 +03:00
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