From: Michael T. R. <ttm...@gm...> - 2008-10-05 15:06:33
|
On Sun, 2008-10-05 at 16:27 +0200, Robert Schwenn wrote: > Hi, > for the ruby syntax highlighting to work, the edit mode has to be set to > "ruby". First You could set it manually via "Utilities -> Buffer > Options" and check if it works. > > To set the "ruby" mode automatically for .erb files, You have to add > ",erb" to the filename glob (FILE_NAME_GLOB="*.{rthml,rb,rbw,erb}". > > Also, I'm not sure, whether or not You picked the right catalog file. > There are two in the two modes directories: one in jedit's program > directory and one in Your user settings directory. You have to edit the > one where also resides the ruby.xml file. There's the added problem that ERB is not Ruby. ERB is Ruby embedded in HTML. You may be better off making your own syntax file from the HTML and Ruby files blended together. -- Michael T. Richter <ttm...@gm...> (GoogleTalk: ttm...@gm...) The only reason some people get lost in thought is because it's unfamiliar territory. (Paul Fix) |