2011-02-21 00:27:43 +01:00
|
|
|
(add-to-list 'auto-mode-alist '("\\.vala$" . vala-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.vapi$" . vala-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.bat$" . batch-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
|
2011-03-07 09:04:49 +01:00
|
|
|
(add-to-list 'auto-mode-alist '("\\.php[345]?$" . php-mode))
|
|
|
|
(add-to-list 'auto-mode-alist '("\\.js\\(on\\)?$" . javascript-mode))
|
2011-02-21 00:27:43 +01:00
|
|
|
|
|
|
|
(add-to-list 'file-coding-system-alist '("\\.vala$" . utf-8))
|
|
|
|
(add-to-list 'file-coding-system-alist '("\\.vapi$" . utf-8))
|