mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix eval commands in nix-shell files
This commit is contained in:
@ -68,4 +68,8 @@
|
|||||||
(when mode
|
(when mode
|
||||||
(prog1 (set-auto-mode-0 mode)
|
(prog1 (set-auto-mode-0 mode)
|
||||||
(when (eq major-mode 'sh-mode)
|
(when (eq major-mode 'sh-mode)
|
||||||
(sh-set-shell interp)))))))))
|
(sh-set-shell interp))
|
||||||
|
;; HACK Without this, quickrun tries to evaluate code directly
|
||||||
|
;; with (cached)?nix-shell.
|
||||||
|
;; TODO Use the nix-shell/cached-nix-shell-given interpreter
|
||||||
|
(setq-local quickrun-option-shebang nil))))))))
|
||||||
|
Reference in New Issue
Block a user