Add sh-mode for .envrc
This commit is contained in:
@@ -2076,6 +2076,7 @@ This is :around advice, so OLDFUN is the real function
|
||||
:ensure nil
|
||||
:hook (sh-mode . my/-setup-sh-mode)
|
||||
:init
|
||||
(add-to-list 'auto-mode-alist '("/\\.envrc\\'" . sh-mode))
|
||||
(defun my/-setup-sh-mode ()
|
||||
(add-hook 'completion-at-point-functions #'cape-file nil t)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user