From 7787a90dcbc4aba4bf857f89b97f8c8eb50d5eeb Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 7 Jan 2021 13:48:21 +0900 Subject: [PATCH] Make .git/hooks editable --- emacs.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs.el b/emacs.el index b81e84f..b864657 100644 --- a/emacs.el +++ b/emacs.el @@ -562,6 +562,8 @@ THEM are function and its args." (add-to-list 'hardhat-fullpath-protected-regexps "/\\.venv/") (defvar hardhat-fullpath-editable-regexps) + (add-to-list 'hardhat-fullpath-editable-regexps + "/\\.git/hooks/.*'") (add-to-list 'hardhat-fullpath-editable-regexps "/\\.git/EDIT_INDEX\\.diff\\'") (defvar hardhat-basename-editable-regexps)