From c5a5227da55709bf8e734a6b09f0a3e725f27ede Mon Sep 17 00:00:00 2001 From: Jiri Konecny Date: Wed, 11 May 2016 08:39:32 +0200 Subject: [PATCH] Fix example in documentation Escaping the ` and removing what does not make sense to me. --- README.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.asciidoc b/README.asciidoc index b1caf4ff..ccfb7862 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -1125,7 +1125,7 @@ general highlighters are: * `regex :...`: 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