summaryrefslogtreecommitdiff
path: root/lisp/go.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/go.el')
-rw-r--r--lisp/go.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/go.el b/lisp/go.el
index 2adb035..f24ec5f 100644
--- a/lisp/go.el
+++ b/lisp/go.el
@@ -1,8 +1,11 @@
;;; Code:
-(require 'eglot)
+(use-package eglot
+ :ensure t)
(use-package go-mode
+ :ensure t
+ :after (eglot)
:config
(add-hook 'go-mode-hook 'eglot-ensure))