Skip to content
This repository
Newer
Older
100644 34 lines (19 sloc) 1.5 kb
0a85298b »
2014-01-30 Added YAML front matter, fixed headers
1 ---
2 layout: default
3 permalink: docs/gedit.html
4 ---
5
6 # gedit language-spec
72257380 »
2011-06-29 added gedit language-spec
7
8 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`.
9
10 ![Stylus Language Specification for GtkSourceView](http://i.imgur.com/uBppL.png))
11
12 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/).
13
14 **Installation Steps**
15
16 Download `styl.lang` to your local `language-specs` folder:
17
79b4eef9 »
2011-07-08 Fixed wget command
18 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
72257380 »
2011-06-29 added gedit language-spec
19
8edd0bf0 »
2013-01-16 added gedit 3.0 solution.
20 For gtksourceview 3.0 (gedit 3.0), user:
21
22 mkdir -p ~/.local/share/gtksourceview-3.0/language-specs/ && wget https://raw.github.com/LearnBoost/stylus/master/editors/gedit/styl.lang -O ~/.local/share/gtksourceview-3.0/language-specs/styl.lang
23
0ab9219d »
2012-01-25 Edited documentation text for clarity, phrasing, punctuaton, grammar,…
24 Update the MIME database and enjoy Stylus syntax in gedit!
72257380 »
2011-06-29 added gedit language-spec
25
26 cd ~/.local/share
27 update-mime-database mime
28
29 This is much more enjoyable than having gedit recognize your `.styl` files as Apache Confs!
30
31 ---
32
33 **Have a sweet tooth?** Add more icing to gedit with gedit-icing: [https://github.com/niftylettuce/gedit-icing](https://github.com/niftylettuce/gedit-icing)
Something went wrong with that request. Please try again.