Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 5055b9dae856abb7fda2fced6675b9fd > files > 95

nodejs-stylus-0.35.1-1.fc18.noarch.rpm

## gedit language-spec

 Stylus ships with a temporary version of `styl.lang` for [GtkSourceView](http://live.gnome.org/GtkSourceView), based off [Yanekk](https://github.com/yanekk)'s [work](https://github.com/gmate/gmate/blob/master/lang-specs/scss.lang) on `scss.lang`.
 
 ![Stylus Language Specification for GtkSourceView](http://i.imgur.com/uBppL.png))

 This is a start and provides a basic [language spec](http://live.gnome.org/Gedit/NewLanguage) for GtkSourceView editors such as [gedit](http://projects.gnome.org/gedit/).

 **Installation Steps**
 
 Download `styl.lang` to your local `language-specs` folder:
 
    mkdir -p ~/.local/share/gtksourceview-2.0/language-specs/ && wget https://raw.github.com/LearnBoost/stylus/master/editors/gedit/styl.lang -O ~/.local/share/gtksourceview-2.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](https://github.com/niftylettuce/gedit-icing)