Is There A Way To Tell Gedit That .sage Files Should Always Be Highlighted As Python Code?
Well, that's about all there is to say. Currently I have to set the highlighting on each file by hand, which is getting annoying, especially since it sometimes forgets and I have t
Solution 1:
Thanks to Fredrik's comment I found an easy solution, although it seems like more of a hack than one would want.
go to
/usr/share/gtksourceview-3.0/language-specs/python.lang
and edit line 30 to say
<property name="globs">*.py;*.sage</property>
instead of
<property name="globs">*.py</property>
Post a Comment for "Is There A Way To Tell Gedit That .sage Files Should Always Be Highlighted As Python Code?"