Associate nix-mode with .nix files

This commit is contained in:
jpathy 2018-08-12 14:48:33 +00:00 committed by Codruț Constantin Gușoi
parent 252c94a1ce
commit 13d0212c18
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@
(defun nixos/init-nix-mode ()
(use-package nix-mode
:defer t
:mode "\\.nix\\'"
:init
(add-to-list 'spacemacs-indent-sensitive-modes 'nix-mode)
:config