From 5ff134598c2c94cede4e30a902494747d67d6358 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 19 Jun 2017 10:26:10 +0200 Subject: Emacs: Setup toml-mode --- emacs/.emacs.d/init.org | 3 +++ nix/.config/nixpkgs/emacs.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 1570206..3e55107 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1636,6 +1636,9 @@ configuration files. :config (progn (setq scss-compile-at-save nil))) +(use-package toml-mode + :mode ("\\.toml\\'" . toml-mode)) + (use-package yaml-mode :mode (("/group_vars/.*" . yaml-mode) ("/host_vars/.*" . yaml-mode))) diff --git a/nix/.config/nixpkgs/emacs.nix b/nix/.config/nixpkgs/emacs.nix index 86cf3b5..6ced3fd 100644 --- a/nix/.config/nixpkgs/emacs.nix +++ b/nix/.config/nixpkgs/emacs.nix @@ -143,6 +143,7 @@ in smex swiper tern + toml-mode undo-tree visual-regexp volatile-highlights -- cgit 1.4.1