]> gitweb.michael.orlitzky.com - emacs.d.git/blob - auto-modes.el
Initial commit.
[emacs.d.git] / auto-modes.el
1 (setq auto-mode-alist
2 (append
3 (list
4
5 ;; apache-mode
6 '("\\.htaccess$" . apache-mode)
7 '("httpd\\.conf$" . apache-mode)
8 '("srm\\.conf$" . apache-mode)
9 '("access\\.conf$" . apache-mode)
10 '("apache[12]\?\\.conf$" . apache-mode)
11 '("commonapache[12]\?\\.conf$" . apache-mode)
12
13 ;; basic-mode
14 '("\\.class\\.asp$" . basic-mode)
15 '("\\.vbs$" . basic-mode)
16
17 ;; csharp-mode
18 '("\\.ascx$" . csharp-mode)
19 '("\\.cs$" . csharp-mode)
20
21 ;; css-mode
22 '("\\.css$" . css-mode)
23
24 ;; ecmascript-mode
25 '("\\.js$" . ecmascript-mode)
26
27 ;; haskell-mode
28 '("\\.hs$" . haskell-mode)
29
30 ;; nagios-mode
31 '("\\.cfg$" . nagios-mode)
32
33 ;; nxml-mode
34 '("\\.asp$" . nxml-mode)
35 '("\\.aspx$" . nxml-mode)
36 '("\\.xml$" . nxml-mode)
37 '("\\.?html$" . nxml-mode)
38 '("\\.config$" . nxml-mode)
39 '("\\.tpl$" . nxml-mode)
40 '("\\.rdf$" . nxml-mode)
41 '("\\.xul$" . nxml-mode)
42
43 ;; php-mode
44 '("\\.php$" . php-mode)
45
46 ;; python-mode
47 '("\\.py$" . python-mode)
48
49 ;; ruby-mode
50 '("\\.rake$" . ruby-mode)
51 '("\\.rb$" . ruby-mode)
52
53 )
54
55 auto-mode-alist))