[gtksourceview] Adwaita.xml: add rust styling



commit ef1f9dc499fe37f31e5d1895896f7dedb2313e08
Author: Christian Hergert <chergert redhat com>
Date:   Thu Dec 30 19:44:16 2021 -0800

    Adwaita.xml: add rust styling

 data/styles/Adwaita.xml | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/data/styles/Adwaita.xml b/data/styles/Adwaita.xml
index fc72a8df..0c86d687 100644
--- a/data/styles/Adwaita.xml
+++ b/data/styles/Adwaita.xml
@@ -161,6 +161,13 @@
   <style name="meson:string"                foreground="pink1"/>
   <style name="meson:operator"              foreground="text5" bold="true"/>
 
+  <style name="rust:macro"                  foreground="text2"/>
+  <style name="rust:attribute"              foreground="text2"/>
+  <style name="rust:type"                   foreground="teal" bold="true"/>
+  <style name="rust:scope"                  foreground="teal"/>
+  <style name="rust:lifetime"               foreground="orange4" bold="true"/>
+  <style name="rust:self"                   foreground="text5" bold="true"/>
+
   <style name="def:base-n-integer"          foreground="numbers"/>
   <style name="def:builtin"                 bold="true"/>
   <style name="def:boolean"                 foreground="numbers"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]