From 32d5885aad4d4e393ee60e971f261ca43839c30e Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 7 Jul 2020 11:00:09 +0900 Subject: [PATCH] Add hardhat configs --- emacs.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 2baf84e..31b291b 100644 --- a/emacs.el +++ b/emacs.el @@ -585,7 +585,14 @@ THEM are function and its args." (with-eval-after-load 'hardhat (defvar hardhat-fullpath-protected-regexps) (add-to-list 'hardhat-fullpath-protected-regexps - "/.venv/")) + "/\\.venv/") + (defvar hardhat-fullpath-editable-regexps) + (add-to-list 'hardhat-fullpath-editable-regexps + "/\\.git/DIFF_INDEX\\'") + (defvar hardhat-basename-editable-regexps) + (add-to-list 'hardhat-basename-editable-regexps + "\\`Pipfile.lock\\'") + ) (global-hardhat-mode 1)) (with-eval-after-load 'ignoramus