aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-09-12 01:58:20 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-09-12 02:10:57 +0200
commitcbf6324bcee44c1bc7a28b95cb6b61e88d832146 (patch)
tree33d4a6087d2df2e77c34704dee5b9a63f405300d /share
parentc8acfe1f7b51c4435f0dc478d15e95c57dfd4f74 (diff)
emacs: add nix-mode
Diffstat (limited to 'share')
-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\\'")