fix(language/go): fix go-playground setup

This commit is contained in:
2023-04-25 02:14:04 +01:00
parent 05c45bee59
commit 6434035d60

View File

@@ -272,13 +272,15 @@ For example, if the current buffer is `foo.go', the buffer for
"C-c k" 'go-playground-rm)
:custom
(go-playground-init-command "touch .projectile && go mod init playground")
(go-playground-basedir
(expand-file-name "src/playground" (or (getenv "GOPATH") "~/go")))
(expand-file-name "src/playground" (or (getenv "GOPATH")
"~/Projects/Go")))
:preface
(defun siren-go-playground-setup ()
(if (fboundp 'solaire-mode)
(solaire-mode -1))))
:preface
(defun siren-go-playground-setup ()
(if (fboundp 'solaire-mode)
(solaire-mode -1))))
(provide 'siren-golang)
;;; siren-golang.el ends here