From cbf6324bcee44c1bc7a28b95cb6b61e88d832146 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Thu, 12 Sep 2024 01:58:20 +0200 Subject: emacs: add nix-mode --- share/xpkgs/emacs/emacs.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'share/xpkgs/emacs') 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 "") '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\\'") -- cgit v1.3.1