Skip to content

Commit

Permalink
emacs: fix init.el
Browse files Browse the repository at this point in the history
  • Loading branch information
keegancsmith committed Mar 12, 2024
1 parent d0bfbf5 commit 6a01c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
"go test")))
(add-hook 'go-mode-hook #'my-go-mode-hook)
(setq gofmt-command (expand-file-name "~/go/bin/goimports"))
(setenv "GOPATH" (string-trim (shell-command-to-string "go env GOPATH"))))
(setenv "GOPATH" (string-trim (shell-command-to-string "go env GOPATH")))
(when (bound-and-true-p consult-imenu-config)
(add-to-list 'consult-imenu-config '(go-mode :toplevel "Function"
:types ((?s "Struct" font-lock-type-face)
Expand Down

0 comments on commit 6a01c55

Please sign in to comment.