diff --git a/src/etc/gedit/readme.txt b/src/etc/gedit/readme.txt new file mode 100644 index 00000000000..735b0236276 --- /dev/null +++ b/src/etc/gedit/readme.txt @@ -0,0 +1,11 @@ +Add syntax highlighting for Mozilla Rust in GtkSourceView (used by GEdit). + + +Instructions for Ubuntu Linux 12.04+ + +1) Close all instances of GEdit + +2) Copy the included "share" folder into "~/.local/" + +3) Open a shell in "~/.local/share/" and run "update-mime-database mime" + diff --git a/src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang b/src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang new file mode 100644 index 00000000000..0b23808b765 --- /dev/null +++ b/src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang @@ -0,0 +1,264 @@ + + + + + + + text/x-rust + *.rs;*.rc + // + /* + */ + + + +