Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.

Commit 875ed31

Browse files
committed
Merge pull request #3 from michaelrutherford/master
Updated Instructions
2 parents c4710d1 + b2a641c commit 875ed31

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#Rust for GEdit
2+
3+
Add syntax highlighting for Mozilla Rust in GtkSourceView (used by GEdit).
4+
5+
__Instructions for Ubuntu Linux 12.04+__
6+
7+
1. Close all instances of GEdit
8+
9+
2. Copy the included "share" folder into "~/.local/"
10+
11+
3. Open a shell in "~/.local/share/" and run "update-mime-database mime"
12+
13+
__Instructions for other GNU/Linux distributions__
14+
15+
1. Close all instances of GEdit
16+
17+
2. Obtain super-user access
18+
19+
3. Copy the rust.lang file and place it in /usr/share/gtksourceview-3.0/language-specs/
20+
21+
Example (after extracting the gedit-config-master.zip to the ~/Downloads directory):
22+
23+
> sudo mv /Downloads/gedit-config/share/gtksourceview-3.0/language-specs/rust.lang /usr/share/gtksourceview-3.0/language-specs/

readme.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)