Opening .toml files in config-mode

This commit is contained in:
Rodolphe Breard 2015-05-29 12:18:18 +02:00
parent ebb9d2a1d3
commit 059ea41d16

View file

@ -7,6 +7,9 @@
(autoload 'rust-mode "rust-mode" "Rust editing mode." t) (autoload 'rust-mode "rust-mode" "Rust editing mode." t)
(setq auto-mode-alist (cons '("\.rs$" . rust-mode) auto-mode-alist)) (setq auto-mode-alist (cons '("\.rs$" . rust-mode) auto-mode-alist))
;; Toml
(setq auto-mode-alist (cons '("\.toml$" . conf-mode) auto-mode-alist))
;; LUA ;; LUA
(autoload 'lua-mode "lua-mode" "Lua editing mode." t) (autoload 'lua-mode "lua-mode" "Lua editing mode." t)
(setq auto-mode-alist (cons '("\.lua$" . lua-mode) auto-mode-alist)) (setq auto-mode-alist (cons '("\.lua$" . lua-mode) auto-mode-alist))