Browse Source

Add hardhat config

master
10sr 4 years ago
parent
commit
68146d663a
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      emacs.el

+ 8
- 0
emacs.el View File

@@ -180,6 +180,7 @@ Otherwize hook it."
with-venv with-venv
nyan-mode nyan-mode
diredfl diredfl
hardhat


editorconfig editorconfig
editorconfig-custom-majormode editorconfig-custom-majormode
@@ -580,6 +581,13 @@ THEM are function and its args."
;; mark-ring ;; mark-ring
;; (equal mark-ring (cl-copy-list 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 ;; title and mode-line




Loading…
Cancel
Save