gdritter repos dotfiles / b87e922
Remove unnecessary auto-mode-alist additions Getty Ritter 9 years ago
1 changed file(s) with 5 addition(s) and 12 deletion(s). Collapse all Expand all
5757 (autoload 'camldebug "camldebug" "Run the Caml debugger" t)
5858 (autoload 'tuareg-imenu-set-imenu "tuareg-imenu"
5959 "Configuration of imenu for tuareg" t)
60 (add-hook 'tuareg-mode-hook 'tuareg-imenu-set-imenu)
61 (add-to-list 'auto-mode-alist '("\\.ml[ilyp]?\\'" . tuareg-mode))))
60 (add-hook 'tuareg-mode-hook 'tuareg-imenu-set-imenu)))
6261
6362
6463
6564
6665 ;; dockerfile mode
6766
6867 (use-package dockerfile-mode
69 :ensure t
70 :init
71 (progn
72 (add-to-list 'auto-mode-alist '("\\Dockerfile\\'" . dockerfile-mode))))
68 :ensure t)
7369
7470
7571
7672
7773 ;; rust-mode
7874
7975 (use-package rust-mode
80 :ensure t
81 :init (add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode)))
76 :ensure t)
8277
8378
8479
8580
8681 ;; various markup/text file modes
8782
8883 (use-package toml-mode
89 :ensure t
90 :init (add-to-list 'auto-mode-alist '("\\.toml\\'" . toml-mode)))
84 :ensure t)
9185
9286 (use-package yaml-mode
93 :ensure t
94 :init (add-to-list 'auto-mode-alist '("\.ya?ml\'" . yaml-mode)))
87 :ensure t)