Killing VHDL highlighting in gEdit
Wednesday, 7. October 2009, 16:05:19
GEdit, the "Text Editor" program in Ubuntu and other Gnome based Linux distributions, has an annoying habit of highlighting far too many non-VHDL files as VHDL. One of the file types it is particularly keen on highlighting incorrectly is SQL files. This is a pain because I use those a lot, wheres I have never had, and most likely never will have, any use at all for editing VHDL files.
So I decided to figure out how I could disable that highlighting mode once and for all. This is what I came up with on my Ubuntu Hardy box:
Then restart gedit and everything VHDL'ish about it will be gone.
So I decided to figure out how I could disable that highlighting mode once and for all. This is what I came up with on my Ubuntu Hardy box:
sudo rm /usr/share/gtksourceview-2.0/language-specs/vhdl.lang
Then restart gedit and everything VHDL'ish about it will be gone.



How to use Quote function: