Resolve major mode for (cached)-nix-shell scripts
This commit is contained in:
parent
014385a9f6
commit
49c7cf8172
2 changed files with 23 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
;;; lang/nix/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! nix-mode
|
||||
:interpreter ("cached-nix-shell" . +nix-shell-init-mode)
|
||||
:interpreter ("nix-shell" . +nix-shell-init-mode)
|
||||
:mode "\\.nix\\'"
|
||||
:config
|
||||
(set-company-backend! 'nix-mode 'company-nixos-options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue