Skip to content

sivchari/tinygo.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinygo.vim

This is a simple extension to add TinyGo support to Vim and Neovim. Add environment variables for tinygo and restart LSP-server. Using tinygo.vim, you can easily integrate with gopls.

Installing

Plug 'sago35/tinygo.vim'

Usage

If an argument is specified, vim-lsp will be restarted with that target setting. If no argument is specified, it will open a list of targets. In that case, target can be selected by pressing ENTER.

:TinygoTarget               open a list of targets.
:TinygoTarget [target]      LSP-server will be restarted with that target setting
:TinygoTarget -             stop integration

Support

for Neovim user

If you are a Neovim user, you may want to try the native plugin.

LICENSE

MIT

About

TinyGo support to Vim and Neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%