Fix example in documentation

Escaping the ` and removing what does not make sense to me.
This commit is contained in:
Jiri Konecny 2016-05-11 08:39:32 +02:00
parent 6b1bd84e8e
commit c5a5227da5

View File

@ -1125,7 +1125,7 @@ general highlighters are:
* `regex <ex> <capture_id>:<face>...`: highlight a regex, takes the regex as
first parameter, followed by any number of face parameters.
For example: `:addhl regex //(\h`TODO:)?[^\n]` 0:cyan 1:yellow,red`
For example: `:addhl regex (\hTODO:)?[^\n] 0:cyan 1:yellow,red`
will highlight C++ style comments in cyan, with an eventual 'TODO:' in
yellow on red background.
* `dynregex`: Similar to regex, but expand (like a command parameter would) the