mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 04:52:53 +03:00
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