You are not logged in.
Hi,
I am trying to make pluma/gedit use the SQL syntax highlight by default, when I open or create a file
with extension .hql (hive).
I think I added correctly the mime for hql file, but it still doesn't work.
Can you help me with this issue?
(also if there is an hive syntax highlighter for pluma it is even better, but for the moment I would be happy just to highlight it as an Sql file).
Thanks a lot in advance for the help,
Cheers,
Luca
Last edited by lucacerone (2014-12-10 11:50:17)
Offline
Hi,
go to:
/usr/share/gtksourceview-3.0/language-specs
edit sql.lang:
sudo gedit sql.lang
go to line 27 and change
<property name="globs">*.sql</property>
to
<property name="globs">*.sql;*.hql</property>
and restart gedit. Worked for me (Ubuntu 14.04 LTS)
Cheers
Offline
Thanks Krystztof! This worked like a charm!
Offline