From 059ea41d16f896f8c3c0e119b676ecdfbd63d5dd Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Fri, 29 May 2015 12:18:18 +0200 Subject: [PATCH] Opening .toml files in config-mode --- .emacs.d/lisp/modes.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.emacs.d/lisp/modes.el b/.emacs.d/lisp/modes.el index 30aa82f..69f3f7f 100644 --- a/.emacs.d/lisp/modes.el +++ b/.emacs.d/lisp/modes.el @@ -7,6 +7,9 @@ (autoload 'rust-mode "rust-mode" "Rust editing mode." t) (setq auto-mode-alist (cons '("\.rs$" . rust-mode) auto-mode-alist)) +;; Toml +(setq auto-mode-alist (cons '("\.toml$" . conf-mode) auto-mode-alist)) + ;; LUA (autoload 'lua-mode "lua-mode" "Lua editing mode." t) (setq auto-mode-alist (cons '("\.lua$" . lua-mode) auto-mode-alist))