go-playground
go-playground copied to clipboard
GNU/Emacs mode that setup local Go playground for code snippets like play.golang.org or even better :)
This fixes the condition in the go-playground-upload function, so it runs go-play-buffer within go-playground snippet file buffers only. Previously it would run it in any buffer, except snippet buffers. I...
It can be useful for open old snippets from previous sessions. For now if I try to open snippet from previous sessions I see message `Ignoring unknown mode ‘go-playground-mode’`
This hook runs just before a snippet is deleted, to allow other cleanup tasks such as removing the corresponding lsp-mode workspace.
Go playground has a multi-file support, like https://play.golang.org/p/rq4J90MxTKJ ``` package main import ( "play.ground/foo" ) func main() { foo.Bar() } -- go.mod -- module play.ground -- foo/foo.go -- package foo...
When starting a new playground, before executing the playground initialistaion command, the current directory would be changed to the snippet directory. This would have the side-effect of setting the current...
* Store the path to the latest created snippet to the variable * Add command `go-playground-latest` that would open that snippet instead of creating a new one Maybe also track...
Currently the simple template hard coded. I would like to customize it. Probably right way is allow to use template from the file.
``` go-playground.el:45:2: Error: Wrong type argument: keymapp, nil ``` changing go-mode to go-ts-mode seems to fix at least the top level error