summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-06-19 10:26:10 +0200
committerAlan Pearce2017-06-19 10:26:10 +0200
commit5ff134598c2c94cede4e30a902494747d67d6358 (patch)
treea266a8124ea95344b82b9e482a644028fdabd6ec
parent405ba466460f9d987d331e64fe28eaba481b9c62 (diff)
downloaddotfiles-5ff134598c2c94cede4e30a902494747d67d6358.tar.lz
dotfiles-5ff134598c2c94cede4e30a902494747d67d6358.tar.zst
dotfiles-5ff134598c2c94cede4e30a902494747d67d6358.zip
Emacs: Setup toml-mode
-rw-r--r--emacs/.emacs.d/init.org3
-rw-r--r--nix/.config/nixpkgs/emacs.nix1
2 files changed, 4 insertions, 0 deletions
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