diff options
author | sharkdp <davidpeter@web.de> | 2020-04-21 10:11:12 +0200 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2020-04-21 13:45:26 +0200 |
commit | 47abb192bc7476379986b13834d7c02406ed6a6b (patch) | |
tree | deb94f9275519adcef44acdbe8249dc4bc338e06 /assets | |
parent | 03a7d6be92f50404163f4fc3231c26dc638a00fa (diff) |
Patch Rust syntax file
closes #924
Diffstat (limited to 'assets')
-rw-r--r-- | assets/patches/Rust.sublime-syntax.patch | 13 | ||||
-rw-r--r-- | assets/syntaxes.bin | bin | 638072 -> 638051 bytes |
2 files changed, 13 insertions, 0 deletions
diff --git a/assets/patches/Rust.sublime-syntax.patch b/assets/patches/Rust.sublime-syntax.patch new file mode 100644 index 00000000..3bd745e2 --- /dev/null +++ b/assets/patches/Rust.sublime-syntax.patch @@ -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 diff --git a/assets/syntaxes.bin b/assets/syntaxes.bin Binary files differindex bd3cccfc..2931fdda 100644 --- a/assets/syntaxes.bin +++ b/assets/syntaxes.bin |