Also worth looking into if you are using gEdit is gMate. Check out the links below:
http://blog.siverti.com.br/gmate/ or http://github.com/lexrupy/gmate Adds some useful plugins, and rails specific stuff. Leonard. On Feb 1, 10:20 pm, Banjoey <[email protected]> wrote: > As usual, I was overly complicating things. For anyone wanting the > solution, just change the Language type of your converted DRYML > snippets file (the gEdit version you converted from the TM bundle) to > HTML. You then just tell gnome to treat dryml extensions as html files > and boom, you're done. Thanks for the direction Bryan. It helped a > lot. > > On Feb 1, 11:02 am, Bryan Larsen <[email protected]> wrote: > > > I don't use gEdit, but when I load a DRYML file in gEdit it looks > > fine. It appears to have automatically chosen HTML mode. If you > > can find an ERB mode, that would probably work even better. HAML is > > very different from DRYML, so I wouldn't use that. > > > sorry I don't have any real suggestions, > > Bryan > > > On Jan 30, 7:08 pm, Banjoey <[email protected]> wrote: > > > > This is somewhat off topic, and if no one else is using gEdit, please > > > feel free to tell me to leave... :) > > > > I am trying to get gEdit to recognize my dryml files (Ubuntu 9.10), > > > and am having some issues. I don't even care at this point if it gives > > > me "great" highlighting, I just want it to recognize the files as > > > usable in the snippets tool (similar to TextMate's on OSX). > > > > I think the problem is in gnome's mime type system, but am not sure. > > > the cards.dryml, forms.dryml, and pages.dryml seem to be recognized OK > > > as far as syntax highlighting, but application.dryml and any dryml > > > file I create do not. I can use snippets in .rb files, just not in > > > dryml. Here is what I have done so far: > > > > Created a dryml.lang file in /usr/share/gtksourceview-2.0/language- > > > specs. I basically copied the haml.lang file and just changed the haml > > > to dryml and HAML to DRYML. I'm sure I could clean this up/add to but > > > I just want it working... > > > > Next, I created a dryml.xml file in ~/.local/share/mime and ran some > > > mime update command (update-mime-database mime). > > > > Anyone using Ubuntu and gEdit who has figured this out yet? If not, > > > I'll go to an Ubuntu or gnome forum, but thought I'd at least ask here > > > first... > > > > Thanks! > > > Joey -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
