vim-go v1.1 Release Notes
Release Date: 2015-07-25 // over 8 years ago-
๐ With this release the version will now increase in
minor
levels. So the next ๐ release will be1.2
, the other one1.3
, etc.. This provides us more flexibility (like releasing patch versions if needed).๐ FEATURES:
- A new
:GoGenerate
command is now available which can be used to invokego generate
within vim - ๐ง Vim-go didn't had any license, now we use BSD 3-Clause License (the same as Go). This is needed for Linux distributions to package vim-go and is also something that people asked for.
๐ IMPROVEMENTS:
- ๐ Improve commands
GoRun, GoTest{,Func,Compile}, GoCoverage, GoGenerate, GoErrcheck, GoLint, and GoVet
to handle multiple arguments. Previously this feature was limited to only certain commands. What this means is, for example:GoVet . -all
will invokego tool vet . -all
automatically instead of plango vet
. This is one of the big changes in this release, so give it a try :) - ๐ Improved
:GoFmt
command, which now uses the-w
flag to write to the source code directly, instead of outputting it to stdout. This makes:GoFmt
much more faster than the current implementation. This is one of the big changes in this release, so feedback is welcome! - ๐ Improve
:GoImport
to have a!
feature. Now when when called with a!
appended it will go get it. i.e::GoImport! github.com/fatih/color
. Useful if:GoImport
fails and you want to download it. - Automatic GOPATH detections can now detect
gb
vendored folders. Some commands should now work without any problem when invoked on agb
project. - All command arguments are now properly escaped for shell invocation.
- โ Added the
-f
flag to :GoInstallBinaries command to supportgit url.<base>.insteadOf
configuration - ๐ Improve width and precision highlighting, such as
%s %5s %-5s %5.5f %.5f
- ๐ Show an error if a region is not selected when
:GoFreeVars
is called
๐ BUG FIXES:
- ๐ Fix
:GoDef
for files containing spaces. We know escape the files before passing to:GoDef
- ๐ Fix
:GoFmt
not picking up the correct GOPATH when the fmt command was set togoimports
- ๐ Fix and simplify README.md, add Wiki reference
- ๐ Fixed tagbar integration to show correct imports.
- A new