Re: [gedit-list] Syntax highlighting for file with wrong filetype
- From: Jesse van den Kieboom <jessevdk gnome org>
- To: gedit-list gnome org
- Subject: Re: [gedit-list] Syntax highlighting for file with wrong filetype
- Date: Wed, 26 Jan 2011 23:14:14 +0100
On 01/26/2011 10:58 PM, Jean-Philippe Fleury wrote:
Jesse van den Kieboom a écrit le 2011-01-26 16:47 :
You can use a modeline, something like this:
# filetype=python
at the top of your file (or bottom) should work (given that your gedit
is recent enough and you have modeline plugin enabled).
I thought about modelines plugin, so I visited the documentation:
http://library.gnome.org/users/gedit/2.91/gedit-modelines-plugin.html.en
but there was no mention about the "filetype" option. It seems that it's
not up-to-date.
Yep
Regards,
Jean-Philippe
_______________________________________________
gedit-list mailing list
gedit-list gnome org
http://mail.gnome.org/mailman/listinfo/gedit-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]