vdoc: fix syntax highlighting for symbols before ! and between ( and , (#19888)

This commit is contained in:
Swastik Baranwal 2023-11-16 23:44:28 +05:30 committed by GitHub
parent c9429f3331
commit 4458e49652
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 453 additions and 88 deletions

View file

@ -185,3 +185,11 @@ tests in the main V repository, for example:
* `v vet vlib/v` - run a style checker.
* `v test-self` (run self tests) in various compilation modes.
> **Note**
The VDOC test vdoc_file_test.v now also supports VAUTOFIX, which is
useful, if you change anything inside cmd/tools/vdoc or vlib/v/doc/,
or inside the modules that it depends on (like markdown).
After such changes, just run this command *2 times*, and commit the
resulting changes in `cmd/tools/vdoc/tests/testdata` as well:
`VAUTOFIX=1 ./v cmd/tools/vdoc/tests/vdoc_file_test.v`