wok-next diff emacs-pkg-vala-mode/stuff/80-vala-init.el @ rev 12234
Up:ocsreports (2.0.4)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Apr 09 12:02:30 2012 +0200 (2012-04-09) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/emacs-pkg-vala-mode/stuff/80-vala-init.el Mon Apr 09 12:02:30 2012 +0200 1.3 @@ -0,0 +1,5 @@ 1.4 +;; Register vala-mode 1.5 + 1.6 +(autoload 'vala-mode "vala-mode" "Major mode for editing Vala code." t) 1.7 +(add-to-list 'auto-mode-alist '("\\.vala$" . vala-mode)) 1.8 +(add-to-list 'auto-mode-alist '("\\.vapi$" . vala-mode))