summary refs log tree commit diff stats
diff options
context:
space:
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 15702067..3e551078 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 86cf3b5f..6ced3fd5 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