aboutsummaryrefslogtreecommitdiff
path: root/share/xpkgs/emacs/emacs.el
diff options
context:
space:
mode:
Diffstat (limited to 'share/xpkgs/emacs/emacs.el')
-rw-r--r--share/xpkgs/emacs/emacs.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/xpkgs/emacs/emacs.el b/share/xpkgs/emacs/emacs.el
index 6958fcb..37ceb5c 100644
--- a/share/xpkgs/emacs/emacs.el
+++ b/share/xpkgs/emacs/emacs.el
@@ -88,7 +88,6 @@
(interactive)
(load-file (expand-file-name "init.el" user-emacs-directory)))
-
;; Make a single ESC quit the current action
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
@@ -106,3 +105,8 @@
(lambda ()
;; Use spaces, not tabs
(setq indent-tabs-mode nil)))
+
+
+;;; --- Various major modes --- ;;;
+(use-package nix-mode
+ :mode "\\.nix\\'")