Merge remote-tracking branch 'Screwtapello/support_rust_raw_strings'
This commit is contained in:
commit
ae75032936
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user