Commit cefa6f9a6a0e

Vincent Demeester <vincent@sbr.pm>
2024-07-11 11:08:16
tools/emacs: hardhat without use-package
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 22405a3
Changed files (1)
tools
emacs
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)