Merge remote-tracking branch 'Screwtapello/support_rust_raw_strings'

This commit is contained in:
Maxime Coste 2018-08-05 11:44:15 +01:00
commit ae75032936

View File

@ -14,6 +14,7 @@ hook global BufCreate .*[.](rust|rs) %{
add-highlighter shared/rust regions
add-highlighter shared/rust/code default-region group
add-highlighter shared/rust/string region %{(?<!')"} (?<!\\)(\\\\)*" fill string
add-highlighter shared/rust/raw_string region -match-capture %{(?<!')r(#*)"} %{"(#*)} fill string
add-highlighter shared/rust/comment region -recurse /\* /\* \*/ fill comment
add-highlighter shared/rust/line_comment region // $ fill comment