- A Vim plugin to add commands to call The Go Playground from Vim.
This plugin needs denops.vim and Deno.
Plug 'vim-denops/denops.vim'
Plug 'syumai/goplayground-vim'
:GoPlayRun " Run code in current buffer and show result.
:GoPlayFmt " Format code in current buffer.
:GoPlayShare " Share code in current buffer and show shared URL.
:GoPlayGet <key> " Get code by given The Go Playground's key and open in new buffer.
" Example: GoPlayGet lVnPEvROxzH
"Commands for [go2go](https://go2goplay.golang.org/)
:Go2GoPlayRun
:Go2GoPlayFmt
:Go2GoPlayShare
:Go2GoPlayGet <key>
- This plugin is using dem for module version management.
cd denops/goplayground
dem update https://[email protected] # update module
syumai
MIT