about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-10-28T22·39+0100
committerVincent Ambo <github@tazj.in>2019-02-10T20·43+0100
commit2c5946163c03dfa9b12f9bc83697c593965d08cd (patch)
treeddd43149bac8506b0d96db46d709b73aed058908
parent0f9136ab88c9f9b0ddbd093c0977704a8dff248b (diff)
fix(nix-mode): Use nix-indent-line as indentation function
-rw-r--r--init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.el b/init.el
index a572d35f9bb1..22422c7722c1 100644
--- a/init.el
+++ b/init.el
@@ -134,6 +134,10 @@
   (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)))
 
 (use-package markdown-toc)
+
+(use-package nix-mode
+  :bind (:map nix-mode-map ("<tab>" . nix-indent-line)))
+
 (use-package nginx-mode)
 (use-package rust-mode)
 (use-package terraform-mode)