Skip to content

A Vim plugin to add commands to call The Go Playground from Vim.

License

Notifications You must be signed in to change notification settings

syumai/goplayground-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

goplayground-vim

Installation

This plugin needs denops.vim and Deno.

with vim-plug

Plug 'vim-denops/denops.vim'
Plug 'syumai/goplayground-vim'

Usage

: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>

Development

  • This plugin is using dem for module version management.
cd denops/goplayground
dem update https://[email protected] # update module

Author

syumai

LICENSE

MIT

About

A Vim plugin to add commands to call The Go Playground from Vim.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published