J-_-L
index | github | twitter | irbtools | pws | rubykraut | ruby on ubuntu | zucker | euler | fresh
18.08.11
6 comments

RubyBuntu -5- Modernize your gedit Ruby language specs!

How to get the following for your gedit:

  • Up-to-date Ruby syntax highlighting
  • Proper highlighting for .js.erb or .yml.erb files
  • Gemfile.lock highlighting

I’ve put some days into improving the gedit Ruby syntax file and a suitable style. It’s far from perfect (I think vim’s is still better), but you can definitely feel the difference :)

Screenshot

Examples of the new Ruby language spec

Setup

You can either try the experimental installer:

gem install rubybuntu-gedit
rubybuntu-gedit install

Or install each component manually (it’s not hard ;) )

Creative Commons License

Comments

18.08.11

murphy

Awesome :-) I like the idea of true = green, false = red, but it may imply something that is not true (false = dangerous, true = okay).

18.08.11

stjhimy

What about gmate? https://github.com/gmate/gmate

19.08.11

Stevo

I'm getting a syntax error (unexpected "\n") on line 76.

19.08.11

J-_-L

@murphy
Thanks :). It's one of my favourite "features". It might be true, that it implies wrong things, but haven't experienced that myself - and you can always ignore this extra styling posibilities

@stjhimy
gmate is cool, but it's a big package that focuses on providing nice plugins. The stuff I focus on is more low-level. But I am trying to get the ruby.lang file directly into gedit or gmate.

@Stevo
Can you please specify, when do you get that error?

19.08.11

James

Thanks, I like this.

Also got the syntax error, see https://github.com/janlelis/rubybuntu-gedit/issues/1

14.10.12

vlz

Very nice, thanks! Installer worked.

20.05.13
7|

you?

name
www
7plus3
gist #