1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-07-05 06:33:53 +01:00

Patch Rust syntax file

closes 
This commit is contained in:
sharkdp
2020-04-21 10:11:12 +02:00
committed by David Peter
parent 03a7d6be92
commit 47abb192bc
3 changed files with 14 additions and 0 deletions

@ -0,0 +1,13 @@
diff --git syntaxes/01_Packages/Rust/Rust.sublime-syntax syntaxes/01_Packages/Rust/Rust.sublime-syntax
index 3c354486..24727a4e 100644
--- syntaxes/01_Packages/Rust/Rust.sublime-syntax
+++ syntaxes/01_Packages/Rust/Rust.sublime-syntax
@@ -907,6 +907,8 @@ contexts:
- include: type-any-identifier
- match: ':'
scope: punctuation.separator.rust
+ - match: (?=;)
+ pop: true
fn-body:
- meta_scope: meta.function.rust