Skip to content

Commit 4e36eff

Browse files
authored
Update README.md
1 parent 313ce11 commit 4e36eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The `end` pattern here ensures to match a single quote only if it is not escaped
6161
The `EnableEmbeddedSyntaxHighlight` function is not tied to regex; it might be used to embed any other syntax. E.g., to highlight SQL code blocks inside C++ strings `R"sql(...)sql"`, use
6262

6363
```
64-
au FileType cpp call EnableEmbeddedSyntaxHighlight('sql', "\\C\\<R\\\"==(", ")==\\\"", 'Comment')
64+
au FileType cpp call EnableEmbeddedSyntaxHighlight('sql', "\\C\\<R\\\"sql(", ")sql\\\"", 'Comment')
6565
```
6666

6767
# Installation

0 commit comments

Comments
 (0)