emacs: add a hook for nix-mode-hook
This commit is contained in:
parent
7c7f2fa23b
commit
79dcdb8ab3
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,9 @@ One will be created if none exist."
|
|||
|
||||
(add-hook 'prog-mode-hook 'indent-tab-hook)
|
||||
(add-hook 'sgml-mode-hook 'indent-spc-hook)
|
||||
(add-hook 'nix-mode-hook #'(lambda ()
|
||||
(indent-spc-hook)
|
||||
(setq-local tab-width 2)))
|
||||
|
||||
(defun lisp-hook ()
|
||||
(indent-spc-hook)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue