GNADE User's Guide: GNADE, The GNat Ada Database Environment; Version 1.5.0; Document Revision $Revision: 1.42 $ | ||
---|---|---|
Prev | Chapter 5. Getting started | Next |
The GNADE project uses several file extension which are not commonly defined in the emacs default configuration. As a consequence syntax high ligthing is not activated. In order to activate syntax highlighting again the following lines have to be added to to .emacs file in your home directory:
(setq auto-mode-alist (append '(("\\.C$" . c++-mode) ("\\.cc$" . c++-mode) ("\\.hh$" . c++-mode) ("\\.adq$" . ada-mode) ("\\.gpq$" . ada-mode) ("\\.gpb$" . ada-mode) ("\\.c$" . c-mode) ("\\.h$" . c-mode)) auto-mode-alist))