[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: user defined mime types, source highlighting



Am 2007-03-07 16:59:58, schrieb Zoho Vignochi:
> Hello,
> 
> I write code in Octave (a free Matlab clone) and I would like the source
> files which have an extension .m to be recognized and automagically
> highlighted in gedit. As of now I have to select Octave highlighting
> myself every time when opening an octave source file. 
> 
> I thought that creating a ~/.mime.types file with the contents:

???  --  Why this?

"gedit" support already Syntax Highlighting of Sourcecode and if the
syntax for those "octave" files is currently not supported, create a
new syntax file and put it into your config directory.

I do not know how exactly, since I do not use Bloat-GNOME but I have
read that $USER can add new syntaxes there.  Otherwise you must add
the syntax file to the systemwide syntax files.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: