mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-24 15:28:51 +01:00
parent
03a7d6be92
commit
47abb192bc
@ -14,6 +14,7 @@
|
||||
- Performance problems with C# source code have been fixed, see #677 (@keith-hall)
|
||||
- Performance problems with Makefiles have been fixed, see #750 (@keith-hall)
|
||||
- Fig bux when highlighting Ruby files with unindented heredocs, see #914 (@keith-hall)
|
||||
- A highlighting problem with Rust source code has been fixed, see #924 (@keith-hall)
|
||||
|
||||
## Other
|
||||
|
||||
|
13
assets/patches/Rust.sublime-syntax.patch
vendored
Normal file
13
assets/patches/Rust.sublime-syntax.patch
vendored
Normal file
@ -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
|
BIN
assets/syntaxes.bin
vendored
BIN
assets/syntaxes.bin
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user