styl.lang to your local
mkdir -p ~/.local/share/gtksourceview-2.0/language-specs/ && wget https://raw.github.com/stylus/stylus/master/editors/gedit/styl.lang -O ~/.local/share/gtksourceview-2.0/language-specs/styl.lang
For gtksourceview 3.0 (gedit 3.0), user:
mkdir -p ~/.local/share/gtksourceview-3.0/language-specs/ && wget https://raw.github.com/stylus/stylus/master/editors/gedit/styl.lang -O ~/.local/share/gtksourceview-3.0/language-specs/styl.lang
Update the MIME database and enjoy Stylus syntax in gedit!
cd ~/.local/share update-mime-database mime
This is much more enjoyable than having gedit recognize your
.styl files as Apache Confs!
Have a sweet tooth? Add more icing to gedit with gedit-icing: https://github.com/niftylettuce/gedit-icing