Changelog History
Page 4
-
v1.2 Changes
October 02, 2015🔋 FEATURES:
- 👕 A new
:GoMetaLinter
command which invokes gometalinter. Please check the PR [GH-553] for more detail on customizing and usage of:GoMetaLinter
.
👌 IMPROVEMENTS:
- 👌 Improve
:GoImport
to trim spaces when including import paths of form"fmt "
- Avoid setting
filetype
twice. Previously it was doing it twice, which was expensive - 👌 Improve handling of GOPATH's with trailing
/
characters, such as/home/user/go/
- Add a new
g:go_highlight_string_spellcheck
feature, which is enabled by feature. Now if spell is enabled, go strings are also checked. - 👍 Specify our limited but functional gb support
🐛 BUG FIXES:
- Fixed
:GoRun
to display errors wheng:go_dispatch_enabled
was enabled - 🛠 Fixed
:GoDrop
displaying "Not enough arguments" (regression) - 🛠 Fixed
:GoErrCheck
not showingPASS
message if the command was successful - 🛠 Fixed
:GoErrCheck
not executing in the directory of the currently edited file - Close quickfix window after a successful second round of
:GoInstall
- 🛠 Fix passing files rather than packages to certain oracle commands.
- Escape files passed to oracle command. This could lead to some serious things.
- Clear
g:go_oracle_scope
when the scope was reseted. Previously it was set to empty string, which was causing false positives. - Correct various misspellings.
- 👕 A new
-
v1.1 Changes
July 25, 2015🚀 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
-
v1.0.5 Changes
May 26, 2015🔋 FEATURES:
- A new
:GoOracleScope
is added to change the oracle scope on-the-fly. It accepts import paths as arguments. If no arguments are passed it prints the current custom oracle scope.:GoOracleScope
also supports completion of import paths, so it's very fast and handy to use.:GoOracleScope ""
clears the current custom scope. - A new
:GoPath
command that displays the currentGOPATH
. A path can be passed to change theGOPATH
(i.e:GoPath ~/foo/src
).:GoPath ""
clears and resets theGOPATH
to the initial value. - A new "autodetect GOPATH" feature is added. This automatically detects if the
project is using
godep
or is under asrc
root directory which is not inGOPATH
and changes/modifies theGOPATH
so all commands work based on this GOPATH. What this means is, commands such as:GoDef
,:GoBuild
, etc.. will include the Godeps folder. For example any go-to-definition via:GoDef
will jump to the source code inside Godeps. This is enabled by default, but can disabled withlet g:go_autodetect_gopath = 0
. This new feature is also the foundation for other tools such asgb
orwgo
.
👌 IMPROVEMENTS:
- 👌 Improve
:GoFmt
(gofmt and goimports) speed. Now it's 2x faster than the previous implementation. - ➕ Add Dispatch support for
:GoBuild
and:GoRun
. For more info about dispatch see https://github.com/tpope/vim-dispatch . By default it's disabled, to enable it addlet g:go_dispatch_enabled = 1
to your vimrc. - ➕ Add support for the bang
!
attribute for allgo
tool commands. What this does it, if:GoBuild
is called it will jump to the error. But:GoBuild!
will not jump to any error. This has the same behavior as the internal:make
command in vim. We had this feature already for:GoBuild
and:GoRun
. But not for:GoInstall
,:GoTest
, etc.. Now all commands are unified. - ➕ Add autojump to error for
:GoInstall
. - ➕ Add autowrite feature for
:GoInstall
,:GoTestXXX
functions and:GoVet
- 👌 Support
git url.<base>.insteadOf
and custom import paths of binaries. This improves the commands:GoInstallBinaries
and:GoUpdateBinaries
. - ➕ Add support for highlighting go templates with
*.tmpl
extensions. Based on the work from @cespare from https://github.com/cespare/vim-go-templates
🐛 BUG FIXES:
- 🛠 Fix clearing the status bar when
:GoErrCheck
is called - 🛠 Fix godocNotFound to not match 'os' pkg contents. This improves the command
:GoDoc
- 🛠 Fix parsing and jumping to error locations when used Vim from a different directory than the current buffer's directory
- 🛠 Fix completion showing duplicates paths for completion results, such as github.com/fatih/color and github.com/fatih/color/.
- A new
-
v1.0.4 Changes
April 28, 2015🔋 FEATURES:
- ✅ A new
:GoTestFunc
command (with appropriate mappings) is added. Run tests function which surrounds the current cursor location. Useful to test single tests. - Highlight all Go operators. Previously not all
operators were highlighted. As previously, to highlight options, enable it
with by setting
g:go_highlight_operators
to 1 in your vimrc.
👌 IMPROVEMENTS:
- 👌 Improved certain
:GoDoc
usages to show a better error message - 👌 Improved
:GoRename
to have a default value for rename input. Avoids retyping similar words. - 🔀 Synced with latest Oracle version.
callgraph
is removed. - ✂ Removed our custom referrers mode. New version of oracle now displays the matching lines.
🐛 BUG FIXES:
- 🛠 Fixed the internal
executeInDir
function which was failing when ignorelist was not set properly. - 🛠 Fixed trailing slash for package completion with
:GoImport
- 🛠 Fixed paths in error list for Windows users.
- 🛠 Fixed not showing "import cycle not allowed" error message when called
:GoBuild
or:GoRun
- 🛠 Fixed users using vimproc requiring arguments to functions to be escaped.
- 🛠 Fixed depth for test snippets
- 🛠 Fixed neosnippet support loading snippet files the second time if necessary.
- ✅ A new
-
v1.0.3 Changes
March 07, 2015🔋 FEATURES:
- ✅ A new
:GoTestCompile
command (with appropriate mappings) is added. Useful to compile a test binary or show/fix compile errors in quickfix window
👌 IMPROVEMENTS:
referrer
mode is improved to show referring lines in the quickfix window- A new
errt
snippet is added, which expands toif err != nil { t.Fatal(err) }
- A new
errh
snippet is added, useful to be used in ahttp.Handler
- UltiSnips snippets are improved to take advance of Vim's
Visual
mode. For example selecting a block and typingif
will create an if scope around the block. - Cleanup README.md
🐛 BUG FIXES:
- 🛠 Fix trimming brackets if completion was invoked on a previous completion
- 🛠 Fix Oracle scope settings. Added docs about usage.
- 🛠 Fixed previously broken
var
andvars
snippets - 🛠 Fix duplicate docs
- 🛠 Fix fallback binary path for Windows users. The fallback mechanism is used to discover the necessary Go tools, such as
godef
,gocode
, etc...
- ✅ A new
-
v1.0.2 Changes
February 17, 2015🔋 FEATURES:
- 🆕 New snippets are added, mostly for testing ( changes)
👌 IMPROVEMENTS:
- 💻 Enable all Oracle commands. Docs, mappings and commands are also added. It uses Quickfix list instead of a custom UI.
- Clarify installation process in Readme, add instructions for vim-plug, NeoBundle and manual.
🐛 BUG FIXES:
- 🛠 Fix shiftwidth parsing, it was broken in the previous release for old Vim versions
- 🛠 Fix experimantal mode
-
v1.0.1 Changes
February 09, 2015🔋 FEATURES:
- 🆕 New feature to highlight build constraints (disabled by default)
👌 IMPROVEMENTS:
- ⚡️ Updated godef import path
- ⚡️ Updated Readme for possible problems with
csh
- 📚 Documentation for text objects are updated, typo fixes are merged
- 🏁 If vimproc is installed, Windows users will use it for autocompletion
- 👌 Improve UltiSnips snippets to pick Visual selection (demo: http://quick.as/0dvigz5)
- 📦 Packages with extensions, like "gopkg.in/yaml.v2" can be now displayed
- 📦 Packages with different import paths, like "github.com/bitly/go-simplejson" can be now displayed
🐛 BUG FIXES:
- 📜 Fatal errors are now parsed successfully and populated to quickfix list
- 🔌 Shiftwidth is changed to use shiftwidth() function. Fixes usage with plugins like vim-sleuth and possible mis usage (like setting shiftwidth to zero)
- ➕ Added a new Donation section to Readme, for those who ask for it.
- 🛠 Fix parsing of errcheck error syntax
- 🛠 Fix consistency between Neosnippet and UltiSnips snippets
-
v1.0 Changes
December 24, 2014🚀 We don't tag any changes or releases, so let's start with
1.0
. Our Windows 👌 support is now in a good shape, tons of bugs are fixed, many new features and 👌 improvements is being added and it's getting better with each day (thanks to the community contributions). -
v0.0 Changes
March 24, 2014🎉 Initial commit: https://github.com/fatih/vim-go/commit/78c5caa82c111c50e9c219f222d65b07694f8f5a
<!-- vim: et ts=2 sw=2 -->