diff --git a/emacs.el b/emacs.el index 5b6e02b..f904e1a 100644 --- a/emacs.el +++ b/emacs.el @@ -180,6 +180,7 @@ Otherwize hook it." with-venv nyan-mode diredfl + hardhat editorconfig editorconfig-custom-majormode @@ -580,6 +581,13 @@ THEM are function and its args." ;; mark-ring ;; (equal mark-ring (cl-copy-list mark-ring)) +(when (fboundp 'global-hardhat-mode) + (with-eval-after-load 'hardhat + (defvar hardhat-fullpath-protected-regexps) + (add-to-list 'hardhat-fullpath-protected-regexps + "/.venv/")) + (global-hardhat-mode 1)) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; title and mode-line