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.

Reply via email to