commit cefa6f9a6a0e66579a1ded8cac92bb3981b2fb20
parent 22405a30eba30fc1cc93e1c0d89837fd819209a4
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 11 Jul 2024 11:08:16 +0200
tools/emacs: hardhat without use-package
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/emacs/config/config-files.el b/tools/emacs/config/config-files.el
@@ -10,6 +10,9 @@
;; :config
;; (auto-insert-mode 1))
+(require 'hardhat)
+(global-hardhat-mode)
+
(use-package files
:commands (revert-buffer)
:bind (("<f5>" . revert-buffer))
@@ -23,9 +26,6 @@
("C-c e" . envrc-command-map))
:config (envrc-global-mode))
-(use-package hardhat
- :init (global-hardhat-mode))
-
(use-package highlight-indentation
:unless noninteractive
:commands (highlight-indentation-mode highlight-indentation-current-column-mode)