[gtksourceview/gtksourceview-4-2] rust.lang: add some newer keywords
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/gtksourceview-4-2] rust.lang: add some newer keywords
- Date: Fri, 12 Jul 2019 04:47:31 +0000 (UTC)
commit 9ae158708f00f0dd7c127bbecb0a98ad00c05c11
Author: Ricardo Silva Veloso <ricvelozo gmail com>
Date: Fri Jul 12 04:40:22 2019 +0000
rust.lang: add some newer keywords
data/language-specs/rust.lang | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/data/language-specs/rust.lang b/data/language-specs/rust.lang
index fbe6e703..832bb532 100644
--- a/data/language-specs/rust.lang
+++ b/data/language-specs/rust.lang
@@ -68,12 +68,15 @@ except according to those terms.
<context id="keywords" style-ref="keyword">
<keyword>as</keyword>
+ <keyword>async</keyword>
+ <keyword>await</keyword>
<keyword>box</keyword>
<keyword>break</keyword>
<keyword>const</keyword>
<keyword>continue</keyword>
<keyword>crate</keyword>
<keyword>default</keyword>
+ <keyword>dyn</keyword>
<keyword>else</keyword>
<keyword>enum</keyword>
<keyword>extern</keyword>
@@ -114,6 +117,7 @@ except according to those terms.
<keyword>proc</keyword>
<keyword>pure</keyword>
<keyword>sizeof</keyword>
+ <keyword>try</keyword>
<keyword>typeof</keyword>
<keyword>unsized</keyword>
<keyword>virtual</keyword>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]