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 be 1.2, the other one 1.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 invoke go 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 invoke go tool vet . -all automatically instead of plan go 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 a gb project.
    • All command arguments are now properly escaped for shell invocation.
    • โž• Added the -f flag to :GoInstallBinaries command to support git 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 to goimports
    • ๐Ÿ›  Fix and simplify README.md, add Wiki reference
    • ๐Ÿ›  Fixed tagbar integration to show correct imports.