All Versions
37
Latest Version
Avg Release Cycle
68 days
Latest Release
172 days ago

Changelog History
Page 4

  • v1.0.5

    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 current GOPATH. A path can be passed to change the GOPATH (i.e :GoPath ~/foo/src). :GoPath "" clears and resets the GOPATH to the initial value.
    • A new "autodetect GOPATH" feature is added. This automatically detects if the project is using godep or is under a src root directory which is not in GOPATH and changes/modifies the GOPATH 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 with let g:go_autodetect_gopath = 0. This new feature is also the foundation for other tools such as gb or wgo.

    ๐Ÿ‘Œ 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 add let g:go_dispatch_enabled = 1 to your vimrc.
    • โž• Add support for the bang ! attribute for all go 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/.
  • v1.0.4

    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.
  • v1.0.3

    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 to if err != nil { t.Fatal(err) }
    • A new errh snippet is added, useful to be used in a http.Handler
    • UltiSnips snippets are improved to take advance of Vim's Visual mode. For example selecting a block and typing if 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 and vars 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...
  • v1.0.2

    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

    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

    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

    March 24, 2014

    ๐ŸŽ‰ Initial commit: https://github.com/fatih/vim-go/commit/78c5caa82c111c50e9c219f222d65b07694f8f5a

    <!-- vim: et ts=2 sw=2 -->