Squashed 'vim/bundle/go/' changes from 3efc952a7..bf390af42
bf390af42 New release: v1.16
e0f9c34ff Merge pull request #1626 from delphinus/feature/add-note-for-vim8
b670f2372 Add note for deoplete on Vim 8
6fb095f1d update CHANGELOG.md for #1611
19ae4ac25 Merge pull request #1611 from hiberabyss/master
d6609168e verify 'vsplit' first
c5d695482 also check whether mode contains 'vertical'
3a8cc93e5 Fix go#template#create() for directories that don't exist yet (#1618)
60a03b1ba fix errorformat for compilation errors (#1620)
7836e8a06 match vsplit instead of vertical
ebe70faf6 improve neovim support
f4b4ba13f Merge pull request #1583 from bhcleek/tests/test-output-parsing
40e2e1992 update changelog
6bfc9e2a6 Merge pull request #1613 from bhcleek/fix-neovim-tests
869928c83 Run all test files for Neovim, but skip :GoTest tests
3bc0099e4 Make sure all tests run in Neovim
978f01054 Merge pull request #1607 from Carpetsmoker/fillstruct-line
85c966323 change go_test_prepend_name to go_test_show_name
3f53d9bc7 add tests for test output parsing
b8ad7d0eb Implement -line for fillstruct
0c98bdf53 Another Travis test
3df438c7d See if this get build on master
b50d8f2c8 Fix installing `gocode` on Windows (#1606)
2a4272238 Append Go file type when creating temporary file (#1601)
7904a2776 Add support for denite.nvim about :GoDecls / :GoDeclsDir (#1604)
47251aa65 improve testing story (#1605)
21c262935 Update changelog.md
48c12aa1a Merge pull request #1597 from fatih/go-doc-url
2fe16b99f Support minisnip (#1589)
6366c6ef2 Code coverage reports with covimerage (#1586)
539cec678 Highlighting arguments (#1587)
7f4673573 Merge pull request #1602 from mocheryl/rename-usage-function
a8af95cc2 Rename the usage function to make it callable
7938c88eb Update Changelog.md
3953d53e6 doc: use isnot instead of != for better safety
5daaaf640 guru: scope is not needed for describe mode (#1596)
07af1c520 doc: make godoc instance configurable
bbe47d165 Revert "Use :sbuffer in :GoAlternate" (#1595)
b870a052c Merge pull request #1592 from bhcleek/fix-vim-vint
f63ac32c4 fix vim-vint installation
c923e2927 update CHANGELOG.md for #1585
feee7fa82 Merge pull request #1585 from Carpetsmoker/test-alternate
8554d229a show compiler errors when :GoTest fails (#1588)
48ecb61af Use :sbuffer in :GoAlternate
ccf98e095 Update CHANGELOG
974b2896c Remove g:go_autodetect_gopath (#1525)
a9bf3cbaa Some small test running improvements (#1584)
6318e1aa0 Sync syntax from start after gofmt (#1582)
c191a672e Fix :GoImpl completion (#1581)
432dc7f7f prepend test name to test errors (#1578)
e2559cb3f update CHANGELOG.md (#1577)
ca8ef8a9f Merge pull request #1513 from bhcleek/fix-test-error-processing
57ac640df improve test output handling
456186fd0 update CHANGELOG.md (#1573)
bcd555d47 Merge pull request #1527 from bhcleek/fix-fugitive-errors
a50c83146 Add test and fix Exec() call
4fe11eacf eliminate errors when trying to run a command in a directory that does not exist
ebbc5b34d Add some VimScript lint tools (#1558)
a81c1bd52 Merge pull request #1565 from bhcleek/changelog/1562-1563
e581f3f01 typo (#1569)
c6ea0c1fe update CHANGELOG.md for #1562
c0d209cce Merge pull request #1562 from washtubs/master
d79dd9cbe update CHANGELOG.md for #1563
90384c0ca Merge pull request #1563 from horgh/horgh/run-gometalinter-on-tests
770164ab2 Add --tests only when using the default gometalinter command
70ecda391 Pass --tests flag to gometalinter so that we lint test files
d05d93a7e Make :GoTestCompile respect build tags
ba6ce99a6 Expand test framework (#1548)
bd35a4ec2 Add scripts/docker-test (#1550)
3eefef0b1 Merge pull request #1553 from wuzangsama/master
8ee54fa96 comment out err modeline
d735fc9fc Merge pull request #1551 from bhcleek/docker-image-install-vim
ee377102d run scripts directly instead of via make in Dockerfile
95584e32d install vim in the Docker image
d27a937a3 Ask for "go env" (#1547)
7efc3fe06 Better testing (#1476)
40e02891d Fix UltiSnips gpl snippet (#1535)
44e7173aa add modeline to CHANGELOG.md (#1546)
4409db9b2 Merge pull request #1540 from bhcleek/changelog/1538
06ba514d0 update CHANGELOG.md
5a3a2319a Merge pull request #1538 from 'tmatias:toggle_same_ids_check_group'
ee76970c5 improve go#guru#ClearSameIds readability
d3832a4e1 check group in when toggling same ids
087899210 Display warning when people use an older Vim (#1524)
cc93090b0 Add .editorconfig (#1523)
b28351fdd Merge pull request #1528 from bhcleek/add-modelines
4a8e342e8 Merge pull request #1529 from fatih/fix-go-play
219b9a12c tool: fix :GoPlay by using the correct IsMac() function
448a95767 add missing modelines
51dbbc412 Merge pull request #1461 from bhcleek/gopath-autodetect-default
2e6b84757 disable g:go_autodetect_gopath by default
faf628814 Merge pull request #1521 from bhcleek/changelog-1519
544c894c3 update changelog
0643e9ecc Merge pull request #1519 from bhcleek/fix-go-test-compile
b2ffdaa8e do not try to run tests for :GoTestCompile
011dcadc0 normalize message output (#1512)
f6196ad98 Update ChangeLog
112ea9090 Merge pull request #1465 from Carpetsmoker/rename-complete
57d60ff05 Also clarify docs a bit
d3a07e2c3 Address PR feedback
172139cab Better prefill and completion for :GoRename
2f838940e Clarify documentation for g:go_play_browser_command (#1495)
bd5bd982d edit issue template (#1502)
f61f97fbb edit help file and function description (#1503)
da4a86afa Update CHANGELOG
6ba5992fc Turnoff window resize if its still visible (#1488)
8ccaa5134 edit documentation (#1504)
863008a33 Fix util echo function: ensure l:msg is a list after split() (#1498)
96995056c Merge pull request #1492 from fatih/new-release
010d0cc59 New release: v1.15
4d518eef8 Merge pull request #1491 from fatih/update-changelog
a0a528a0f Update CHANGELOG.md
e3725d45a Merge pull request #1474 from bhcleek/close-gofmt-list-vim7.4
be4133a0b Merge pull request #1485 from cassiobotaro/master
1c1980fd6 ensure fmt list gets closed when title cannot be checked
7cb6d701c Fix #1484 GoDecls break when motion returns empty
dcd3e3bfb Don't use `v:t_list`. (#1479)
54150c199 Fix GoInstallBinaries error message (#1478)
8914c7e39 Allow arguments for :Go{Install,Update}Binaries (#1467)
2a9c03edd Clarify the documentation for the guru scope. (#1466)
ff2936872 Add go#util#Exec() (#1471)
620717490 Documentation for syntax highlighting (#1469)
78b7db128 Support fzf on GoDecls[Dir] (#1437)
458d23085 Merge pull request #1463 from bhcleek/better-assignment-highlight
09911f93f update CHANGELOG.md (#1451)
8fe9a2425 reduce goVarAssignment regex branches
40bdb6ab0 Implement :GoFillStruct (#1443)
0371da68c Show multiline errors (#1456)
40bf77e5f teach goVarAssign about all assignment operators
5e4ed05df Merge pull request #1460 from bhcleek/update-change-log-higlight-assignment
7a3316f59 update changelog
7a7af87f8 Merge pull request #1458 from xlucas/master
7fbccd9da Variable assignments syntax highlight
1e7560e0e Merge pull request #1453 from Carpetsmoker/fix-list-type-commands
6ce489126 Fix string comparison
2b2ffcdde Fix syntax for `s:default_list_type_commands`
2162c2fa1 Fix :GoBuild shell escaping (#1450)
5730b71ea Merge pull request #1449 from bhcleek/consolidate-list-type-command-keys
b319ed975 Load ftplugin/html.vim for gohtmltmpl (#1442)
2b3610ff5 fix arguments to jobcontrol#s:spawn (#1448)
0ff17516c change GoModifyTags default list type
ce9e0fcd8 refactor for maintainability
262fb6308 doc: add example for go_list_type_commands
6b7bab65a Update CHANGELOG.md
df60f2652 support for customizable lists types (#1415)
dfc89933c Update CHANGELOG.md
eac41c98a Merge pull request #1439 from guns/fix-async-guru-data-race
17c03852f Parse messages from guru on close_cb, not exit_cb
b71f2b757 Fix ChangeLog links (#1436)
5f0c5941b Fix go#package#FromPath() (#1435)
2d36a7882 Merge pull request #1434 from fatih/remove-brackets
a5cdeb59d CHANGELOG.md: fix GH links syntax
e287f9b83 Merge pull request #1433 from fatih/fix-issue-links
5ecd7966f CHANGELOG.md: fix markdown syntax to link to GH issues/pr's
b88a5c989 Proof read documentation: "Intro", "Install", and README (#1432)
f71d6e70a Update CHANGELOG
75d0e9f7a GoImpl: support relative (vendor) imports (#1322)
37e5082d4 Add support for unite.vim for :GoDecls / :GoDeclsDir (#1391)
54bcb5bfa Fix g:go_fold_enable, 'comment' value
aa526f0fb Update CHANGELOG
9cce36bd8 Allow folding any comment (#1428)
0be825dd4 Vim syntax match for variable definitions (#1426)
5db7dd6a6 Load buffers with :GoDef relative to cwd (#1277)
506ddafc2 Add support of g:go_doc_command option (#1420)
67a3e972a Show output of vimhelplint failures (#1430)
ea3346620 Remove accidentally committed file; update CHANGELOG
55a54f149 Merge branch 'pr-1414'
63c76f919 Update CHANGELOG.md
b0ae2c584 Merge pull request #1386 from Carpetsmoker/goimpl
6d15159e8 Update CHANGELOG.md
18eba1a08 Merge pull request #1411 from kirstein/master
cdd056ff8 Merge pull request #1377 from Carpetsmoker/fold-pkgcmt
8ba55ec3c Update Changelog.md
fb2763465 Merge pull request #1422 from jasonkeene/ginkgo-faq
79f451448 Some small :GoImpl improvements
125d5caf3 Fold package-level comments
c420b47cd Add FAQ entry for how to run focused ginkgo tests
117c33413 update comment
b5271d098 Fix to fails of GoMetalinter result filepath in subdir. resolve #1413
79152447b term: exit insert mode
52c5b1f74 fmt: fix backwards compatibility with getqflist
df99b193e Update CHANGELOG.md
9a433e5db Merge pull request #1407 from fatih/fix-autoclose-gofmt
a9ad6b3f0 fmt.vim: only close quickfix if its belongs to gofmt
dfd860471 Add initial commit
8eef8ea57 Add all release information to changelog
4fd3a60da Add old changelog (v1.3)
5939bdd8f Add old changelog (v1.4)
9391a575a Add old changelog (v1.5)
30d036a02 Update CHANGELOG.md
ba09b8fef Merge pull request #1401 from fatih/gomodifytags-improvements
e655a39ba Update CHANGELOG.md
a0ecfabad Merge pull request #1400 from cfsalguero/issue-1396
386e81004 tags: use -modified flag and show errors
525fe8af9 Update CHANGELOG.md
e8e49eac5 Merge pull request #1387 from Carpetsmoker/import-comments
cf15171af Add demo link to syntax based folding
25d00acf3 New release: v1.14
5d5c96665 Updaste Changelog.md
c9052d527 def: only show filename to prevent showing long paths
250c6397c Merge pull request #1385 from Carpetsmoker/godef-msg
78a87d866 Merge pull request #1384 from Carpetsmoker/fold-var
9c292d9ee Update CHANGELOG.md
9c49d42a0 Merge pull request #1394 from mikelue/master
239cbec81 Update CHANGELOG.md
6a470dac4 Update CHANGELOG.md
ebdcf3ad9 Merge pull request #1382 from Carpetsmoker/lint
d758e7f52 Update CHANGELOG.md
13b9eb578 Merge pull request #1381 from Carpetsmoker/vet
805334818 Document how to use a different Go binary (#1373)
d4f931d7e Merge pull request #1395 from deltaskelta/doc-typo-fix
e8cf579db Issue 1396 go#def#tab fails if file is already open
60db0a282 Typo fix
c16c29a8a Complement the path of command for different situations of Cygwin environment
ec6500bb4 Allow comments in import blocks
436bfd58f Show message when using :GoDef and opening a new buffer
a683b6a38 Fixes for folding var/const blocks
2d91dbdcf Run :GoLint against the package of the open file
f439c0cb5 Fix filepaths in the quickfix list for :GoVet
76cd99db6 Merge pull request #1356 from antoineco/master
8de2e7df9 Clarify :helpt prerequisite for using :help vim-go
a35c51f3e Update CHANGELOG.md
68c70160f Merge pull request #1371 from Carpetsmoker/new-file
0da59fe21 Update CHANGELOG.md
629cd6d42 Merge pull request #1372 from Carpetsmoker/gofiles-types
3ba1fefa0 Update CHANGELOG.md
307180cd7 Merge pull request #1374 from Carpetsmoker/spaces
82f7e25c5 Update CHANGELOG.md
64bdf041f Merge pull request #1379 from Carpetsmoker/missing-gogetdoc
026728c51 Merge pull request #1378 from clee/fix-contributing-link
64bd8ddd3 Don't show window if "gogetdoc" command isn't found
f8ce5e051 Fix link in CONTRIBUTING.md
6be1c2175 Preserve cursor column through formatting (#1369)
857eaa5b9 Fix various commands when GOPATH contains spaces.
702b1a490 Make :GoDef work if a file path contains spaces
3b7b37626 Allow specifying which filestypes to list for :GoFiles
bd6c4562b Show correct message when editing a new file
2d89f0052 Merge pull request #1368 from anarchyrucks/patch-1
f95eb84f6 Fix typo
1575dcab2 Update CHANGELOG.md
d5f55053f Fold import, var, and const blocks (#1339)
3b6270e06 Update CHANGELOG.md
ab0df08ca Merge pull request #1367 from fatih/improve-cursor-replacement-fmt
838492059 fmt.vim: fix cursor staying on the same line when goimports is used
ca1d7127b Update CHANGELOG.md
e0e8032a7 Merge pull request #1366 from fatih/fix-multiple-src
02c5d8a57 path: fix autp detecting of GOPATH for import paths with string 'src'
d98b80ecf Update CHANGELOG.md
cc28ff699 Merge pull request #1365 from fatih/fix-gofmt-list
e4e992a1c fmt.vim: default to quickfix list for showing errors
d5979c91e Merge pull request #1364 from Carpetsmoker/hl-type
dd6e15468 Don't add offset to goTypeConstructor.
82998ea2f Update CHANGELOG.md
872bef43d Merge pull request #1363 from fatih/fix-array-index
6d8b86ed9 path: fix gobin path for go => 1.7
bfcf8b057 Update CHANGELOG.md
e56673862 Merge pull request #1361 from seanpile/keep_list_open
4e3f55be7 Update CHANGELOG.md
b54de478e Merge pull request #1362 from fatih/fix-swap-file
fd44242d5 fmt: fix blocking ui when swapfile is enabled
06987d569 Added ability to keep the quickfix/location list window open after successful operations instead of autoclosing
58bfea76b Update CHANGELOG.md
8b02779ba Merge pull request #1345 from fatih/include-func-variable
789ffb460 textobj: include function variable for anonymous functions
f08fcab5c Update CHANGELOG.md
657d0937f Merge pull request #1338 from Carpetsmoker/fix-1282
2647e9bda Merge pull request #1340 from Carpetsmoker/vimhelplint
971f3071f Update CHANGELOG.md
acd0be01a Merge pull request #1344 from robot-dreams/patch-1
1a946d9be Fix warning when goimports doesn't support srcdir
55ba44a57 Fix doc lint error
f7df583a0 Add vimhelplint to Travis tests
cfa9713eb Match zero-width in goTypeConstructor
bcf3f23dd Update CHANGELOG.md
0a8af0caa Update CHANGELOG.md
4787f2762 Merge pull request #1335 from Carpetsmoker/go_doc_max_height
290887538 Update CHANGELOG.md
4fd118269 coverage.vim: add echo message for GoCoverage
837143b72 Merge pull request #1336 from rhysd/fix-typo
841457035 fix typos in docs, changelog and sources
2eb88b70a Add g:go_doc_max_height setting
3806c4e59 Update Changelog.md
2df21ebaf Merge pull request #1330 from fatih/go-build-cache
e1c0d7b0b cmd: add -i flag to go build
182a9dd14 Add a note about the recent test refactor
7b93bae4b commands: expose :GoDecls{Dir} command to show a warning
147360e9a Update Changelog.md
91b159a7e Merge pull request #1326 from tmc/coverage-args
f5898d3c8 Create CHANGELOG.md
aefc0a2a0 Merge pull request #1327 from fatih/fix-echo-output-tesst
21cfbbc0d test: fix outputing message when test finishes
b9bef683b coverage.vim: pass along arguments to coverage_job
fec6321d2 Update CHANGELOG.md
d75e17546 Fix syntastic help (#1323)
4f2bdd61a Update Changelog.md
bf9cdc211 Update Changelog.md
913c181b8 Merge pull request #1321 from fatih/improve-import-path
15d3b3c86 package: improve import_path by using go list
61b897f14 Update CHANGELOG.md
bc097c164 Merge pull request #1320 from fatih/cache-env-calls
52e5ad5cf Update CHANGELOG.md
e2be1fa7e Update CHANGELOG.md
a4b64e28e Merge pull request #1318 from bhcleek/feature-test-template
f4be8f612 Use a different template for test files
4f04d680e New release: v1.13
b0a11f016 Improve caching for go env calls
d2e1e1764 Update CHANGELOG.md
404dca66d Merge pull request #1319 from fatih/fix-def-tags
150b2cc05 def: fix passing build tags to guru
16e0ccf28 Update CHANGELOG.md
196792d20 Merge pull request #1317 from fatih/test-compile
21376e689 test.vim: more efficient compiling of test files
7fafcb14f fix coverage to use new test.vim file
9b3aa3f2d Update CHANGELOG.md
161bc4632 Merge pull request #1316 from fatih/fix-test-coloni
8f0029172 test.vim: fix messages with colons
57aaa95ac Merge pull request #1315 from fatih/standalone-test-parsing
d2ff39ca7 test.vim: refactor to use its own parse function
76044c0c5 Merge pull request #1314 from fatih/refactor-parsing
8f9699486 Refactor all test related commands into test.vim
899b741f2 Merge pull request #1311 from tgrosinger/typo-fix
57e062a27 docs: fix typo in command
476239117 Update Changelog.md
60565da2d goimports fails when proj symlinked in GOPATH (#1310)
aec329223 Update Changelog.md
0325c5e04 Specifies the type of list to use in GoMetaLinter, by go_list_type (#1309)
aab6381ea Update Changelog.md
016c03c99 path: do not use a dedicated function for cygwin
3f5dd0a5a Add path convertion for native-win-vim with Cygwin support (#1092)
0235a8f85 Update Changelog.md
66b04e85d Merge pull request #1308 from fatih/improve-fmt-commands
e6533efc8 fmt: change go_fmt_options's type to dict
00ab89e4d Update CHANGELOG.md
b8a6dc963 Merge pull request #1296 from fatih/term-neovim-fix
ff3c10ec4 Update CHANGELOG.md
e63e16602 Merge pull request #1304 from fatih/add-listtype-support
e3760a58d fmt: add support of 'go_list_type' for :GoFmt and :GoImports
8efd1dd73 Update CHANGELOG.md
66e3d342f Merge pull request #1301 from zkry/highlight-interface-struct-fix
f8863b067 Fix the highlighting error by putting the interface\|struct section inside \( \) to correctly identify word boundries
403b9bb29 Merge pull request #1300 from robphoenix/master
276e7abc2 fix single spelling error in vim-go.txt
7b311be14 Update CHANGELOG.md
162e26369 do not jump to the quickfix window when gometalinter is executed (#1293)
1cc18529e Merge pull request #1299 from fatih/fix-tags-settings
07e055236 addtags: unify settings for case setting
c1ae945f6 util: remove nonused go#util#AddTags function
4fda59601 term: fix cwd after running command
05efdfe80 Update CHANGELOG.md
2e1979847 Merge pull request #1295 from etdub/master
fd7d4d40d Change GoLint command to lint the current directory instead of the current file (issue #1263)
7fb96896f Update CHANGELOG.md
26e61829c Merge pull request #1280 from fatih/fix-autodetect-gopath
c609352bb path: return the unmodified GOPATH if autodetect is disabled
6f392c454 Update CONTRIBUTING.md
1143f398e Merge pull request #1279 from fatih/update-docs
8b7d743e5 docs: add new :GoDef mouse mappings
1c6ccb1f2 Update CHANGELOG.md
eb739e185 Merge pull request #1264 from lilydjwg/master
4cdb20ca5 Update CHANGELOG.md
f6554604f Add :GoAddTags transform (#1275)
8532385af Update CHANGELOG.md
8e0ddef60 Merge pull request #1276 from creaky/master
d92a4f6f0 Updated code based on feedback and further analysis
27228dada Merge pull request #1278 from dorons/master
872e4e190 Fixed indent for 'ife' snippet
b57ee9088 Update CHANGELOG.md
1a7887e32 Include keyify support (#1258)
e9bb5eaa4 Fixed issue Vim-Go broken on freebsd #1224
aab745ece Update CHANGELOG.md
cdffa16f5 Merge pull request #1268 from Foxboron/patch-1
f1c6f6649 Include if with inline error handling
78c2a9a0b support <C-LeftMouse> as well
b4936d89b Update README.md
ae5e0d887 Merge pull request #1255 from fatih/readme-improvement
580103e67 Simplify Readme.md
08d0c34d0 Update changelog.md
c71c75e4c Merge pull request #1247 from pborzenkov/close-race
48e0660e2 Update Changelog and add docs for new gometalinter feature
18a5dad3c Merge pull request #1253 from redforks/master
882a1932e Add go_metalinter_excludes config variable
55906b13d Merge pull request #1250 from bradleyfalzon/patch-1
f16e5d9fe Minor typo in change log
26362e4bf New release: v1.12
c20e192ea Update CHANGELOG.md
7871cd94b Update CHANGELOG.md
727aed364 Merge pull request #1248 from fatih/default-gopath
6db12a966 Go 1.8 compatible GOPATH improvements
5c721a278 job: fix race between channel close and job exit
411981189 Update CHANGELOG.md
b14621829 Merge pull request #1246 from fatih/fix-install-arg
58adebd7a cmd: we don't need to shellescape for jobs
e0a7b12e1 Update CHANGELOG.md
5d684f6da Merge pull request #1235 from thsnr/master
58853d520 Update CHANGELOG.md
a83c4c0bc Merge pull request #1242 from danielheller/godef-help-explicit-arguments
cec0fc361 Update GoDef help: remove explicit arguments
1aa048b2d Allow trimming around comments in gotexttmpl syntax.
362e15ab4 Merge pull request #1233 from rigelrozanski/patch-1
8cb66af59 Updated Broken Link
eb8adf52b Tidy up and fix typos
091a8c1f9 Update CHANGELOG.md
0586539e0 Add :GoBuildTags to set build tags (#1232)
cf3aad953 Update CHANGELOG.md
03fc6a710 Add build tags support for gorename (#1225)
b9c815626 Update CHANGELOG.md
71efb2e6d Set GOPATH for both possible go guru execution paths (#1193)
7ff6d8e06 Update CHANGELOG.md
92d0d07a6 Merge pull request #1195 from haleyrc/master
70aba7c27 Update CHANGELOG.md
ac2f89b41 Merge pull request #1197 from jhillyerd/noshowdoc
7149f3eec Update CHANGELOG.md
468fa9823 Merge pull request #1199 from tarrant/master
9a9f010ec Update CHANGELOG.md
2fc67cd72 Merge pull request #1211 from cespare/goimports-options
ded4d3169 Respect go_fmt_options when running goimports
4490a1f67 Fix whitespace and typo (#1201)
68f398b3b Update CHANGELOG.md
a8a253bb8 Update CHANGELOG.md
e4e5e2267 Merge pull request #1204 from fatih/gotags
eca86e03f New GoTags improvements
d3f90c21e Set the filename in the location-list
d5d826a69 Document 'noshowmode' requirement for echo_go_info
884870e88 Modify the resize behavior for godoc
1425decf6 Update CHANGELOG.md
fc1ab4052 Merge pull request #1194 from jblebrun/no-gopath-env-fix
a4edbfc8e Ensure no trailing : in gopath
9b0362562 Update CHANGELOG.md
119eec1b3 Merge pull request #1177 from francescomari/guru-tags
0dacf2917 Update CHANGELOG.md
86834ce79 Merge pull request #1184 from mattn/non-utf8
9cb5965f5 Update CHANGELOG.md
6e832e6c0 Merge pull request #1185 from mattn/errl
f6ad41d15 Update CHANGELOG.md
a8592baf7 Merge pull request #1192 from vieiralucas/patch-1
375ce716c Update CHANGELOG.md
3c5f09de5 Merge pull request #1176 from joshuarubin/neovim_go_build_fixes
d7860c34d Lowercase <Leader> in mappings examples
c29fac849 log.Fatal(err) is useful
ddf3ad471 Support 'encoding != utf-8'
3e8551253 Correctly report the value of the 'g:go_guru_tags' variable
83296ac0b fix :GoBuild issues in neovim
3eb57ac3a New release: v1.11
07dabeb11 Update CHANGELOG.md
001cce799 Merge pull request #1174 from zmb3/zb-godoc-browser
e3a760fd9 Fix :GoDocBrowser for third party package doc.
ba08326b2 Update CHANGELOG.md
41f5fd135 Merge pull request #1146 from horgh/master
7635fc0eb Update CHANGELOG.md
f9391628d Merge pull request #1152 from ismail/ismail-patch-1
8775ba7f5 Merge pull request #1168 from fatih/fix-docs
e3e9fef6a Update CHANGELOG.md
fba058f98 Merge pull request #1167 from fatih/disable-highlight
16ffe5d88 docs: fix unused feature
0a3b205c8 syntax: switch options to off
47447feea Update CHANGELOG.md
283fe500e Merge pull request #1160 from thsnr/master
10af7bc2a Use go_metalinter_command as List after split().
d7c628ff2 Merge pull request #1159 from fatih/godef-tests
e27a00365 tests: add def_test.vim
a9bc540b0 Update readme.md
73f707d46 Merge pull request #1158 from fatih/improve_tests
b586c7e4f tests: add new test, update runttest.vim
b27031ab0 Update CHANGELOG.md
bd6e33ed4 Merge pull request #1157 from fatih/vim-go-tests
145893132 Add travis integration and initial test suite
7d3e4bc8b Merge pull request #1156 from bhcleek/fix-sameids-BufWinEnter
ffe8fc402 clear buffer-local BufWinEnter properly
fa7dc2eaa Update CHANGELOG.md
edcd9c813 Merge pull request #1155 from bhcleek/fix-guru-async
7eeb2f87e use funcref() instead of function() for closures used as callbacks
407dcda3f If GOPATH is empty check for the value of go env GOPATH
95be72ddd go_metalinter_deadline applies in async mode now
e46dd4dde Update CHANGELOG.md
708861202 Merge pull request #1133 from bhcleek/fix-godef-stack-pop
66c72b4ad def: indent
d5abc9d80 Update CHANGELOG.md
054951253 Merge pull request #1132 from bhcleek/fix-godef-split
57e19fa7a Update CHANGELOG.md
398680c1f job: set explicit bang to avoid errors in case it's being used
cd793b75a Update CHANGELOG.md
9f9b93767 Merge pull request #1124 from jimmyfrasche/master
ca4b4437b Update CHANGELOG.md
86adc49b1 Merge pull request #1136 from jdhenke/master
0eaa355a7 Update CHANGELOG.md
8e44afc0f Merge pull request #1145 from entombedvirus/fix_jobcontrol_on_exit_err
709a4585e Update CHANGELOG.md
e15c781d1 Merge pull request #1143 from kechako/fix-indentation-broken
69e2b2c66 Update CHANGELOG.md
7cde15acd Merge pull request #1141 from oystedal/oystedal/1140
39ebca3a1 fixes #1144: "E118: Too many arguments for function: <SNR>173_on_exit"
d1f5dd3bd Update README.md
a55c85338 Fix indentation broken when using a action with a minus sign like `{{-'
d3c9fc07b Change default value of `g:go_asmfmt_autosave` to 0.
93984b340 fix bug in guru vim script
08c881dea Changelog.md: add requirement
66ce0c0d3 make requested changes to documentation and setting name
6bf649098 Merge pull request #1135 from fatih/fix-setloclist
edacc3687 list: set title only for recent Vim versions
6094a38b2 allow popping from jump list when buffer is modified
973ba8c29 handle :GoDef from modified buffer
4a993be12 Update CHANGELOG.md
309c94fbe Merge pull request #1128 from fatih/fix-coverage-syntax
10a8ddcda coverage: no need to change turn on/off syntax
eeae7b0bf Update CHANGELOG.md
b882d1fa7 Merge pull request #1127 from fatih/fix-coverage
4aee04ff7 cmd: do not expand coverage arguments
6ee972ddd Update ISSUE_TEMPLATE.md
d277006b4 Update CHANGELOG.md
01ec25cae Provide a descriptive quickfix/location list title. (#1004)
9e88616c2 Add option to use cwd as package name instead of template
96a07bd88 Update CHANGELOG.md
cb88925a4 Merge pull request #1123 from pborzenkov/job-ccl
40344d43b job: close quickfix window if a job has succeeded
c07e9e0a3 Update CHANGELOG.md
1a9f0ee2e Merge pull request #1122 from fatih/patch-echom-fix
dd2a13642 path: use echom so it's showed when used completion
4944f0ef8 Update Changelog.md
f60e4fd42 Merge pull request #1121 from pborzenkov/statusbar-update
5265ad2da Update CHANGELOG.md
7785d369c Merge pull request #1055 from svanharmelen/f-setlocal-updatetime
0996bdacb Add `g:go_updatetime` to configure a custom `updatetime`
79fa535b1 Always use full path as statusline target directory
bf2110457 Update CHANGELOG.md
b4adab50e Merge pull request #1120 from fatih/gometalinter-statusline
c27297286 lint: add statusline support for GoMetaLinter
d07982689 Update CHANGELOG.md
dcbedd7b8 New release: v1.10
824f44ab8 Merge branch 'master' of https://github.com/fatih/vim-go
8df04a986 New release: v1.10
f3ee8cd5c Update CHANGELOG.md
c0b180a52 Update CHANGELOG.md
d9194b7d1 Update CHANGELOG.md
c44f799be Merge pull request #1089 from tdilo/add-golint-plug-mapping
0b6d16c57 Merge pull request #1119 from fatih/goinfo-improvements
05f7fb837 info: add option to change underlying tool for :GoInfo
cb8329a2b Update CHANGELOG.md
b84f01ae9 Merge pull request #1033 from pborzenkov/coverage
2b34076d0 coverage: allow to run coverage on _test.go files in subdirs
7c27c6be9 Merge pull request #1118 from fatih/fix-wall
d35e866a8 cmd: wall tries to write to unnamed buffer, neglect errors
3b6da4942 Merge pull request #1117 from fatih/test-func-fix
303c0a2bc cmd: fix :GoTestFunc for job API
d3c4fb3d2 Merge branch 'master' of https://github.com/fatih/vim-go
505e726e2 Update README.md
75b6713bc Merge pull request #1114 from fatih/check-job
86c7e12f5 vim: require at least 8.0.0087 for +job features
c212e28fa guru: do not use abort, is not compatible with old Vim versions
b2ecbf8c0 Merge pull request #1110 from fatih/fix-new-variables
b82060212 go: do not use new type variables
59c56f090 Merge pull request #1104 from fatih/vim-8.0-squash
dc8073386 Add vim-8.0 support
362decf1a complete: disable unimported support
303667f4f Update CHANGELOG.md
e198faaa7 Merge pull request #1100 from Alok/add-abort
37f828315 Update CHANGELOG.md
de782e8ac Merge pull request #1101 from haya14busa/option-go_echo_type_info
ec9f4ac3f Merge pull request #1102 from stamm/patch-1
26d766a27 typos in changelog
298520ce1 add an option to show type info when completion is done
a822b9792 Add abort to every autoload function
d85444b32 lint: add (go-lint) plug mapping
10c805b83 Update CHANGELOG.md
fcd04ce1f Merge pull request #954 from fatih/fix-gocode-goroot
23c0cb00c Update CHANGELOG.md
42bc216cc Merge pull request #1067 from bhcleek/fix-sameids-change-buffer
0b631151f Update CHANGELOG.md
be4eae0ba Merge pull request #1070 from svanharmelen/f-highlight-func-calls
64021135f Update CHANGELOG.md
b76d55f52 Merge pull request #1075 from magicalbanana/allow-nested-struct-highlighting
936837ec0 Update CHANGELOG.md
8b73c3f71 Merge pull request #1084 from zmb3/unimported-packages
54b2650c4 Provide completions for unimported packages.
7461762f7 Update CHANGELOG.md
127ecfedd Merge pull request #1083 from fatih/fix-jumping-to-split-modified
54fa4679a def: do not open a split for modified file
80b0ca2d1 Make sure builtins are hightlighted correctly
31c13f672 Syntax nested structs
1f8e10ceb Merge pull request #1072 from hitjim/patch-1
f41f55323 Update license to credit Renee French for Gopher
8faedbebf Update CHANGELOG.md
977b68d22 Merge pull request #1048 from svanharmelen/f-highlight-func-calls
a09d179d8 Clear most recent goSameId highlights groups
bae1529cd util: add go#util#env function
6ca257751 Update CHANGELOG.md
32f9d2bf5 Merge pull request #1062 from lukatendai/master
acab9b3f6 Update cmd.vim
2b19e6c18 Merge pull request #1047 from abhinav/patch-1
4bf1d139f skip go#util#Shelllist if nvim is being used
09522e50c Update CHANGELOG.md
fc4f5a432 Merge pull request #1061 from egonelbre/master
4e3628042 Use transparent background for image.
fecb68867 Update CHANGELOG.md
5fda1883f Merge pull request #1060 from fatih/assets
38ff97edc Add vim-go logo /cc @egonelbre
d6c1ec9a4 Add assets dir with new logo from @egonelbre
8205e3542 Merge pull request #1052 from mattn/sock_type
86b1e7aa2 fix default sock type
961466fb2 Add support for highlighting function calls
7fd92a842 Update CHANGELOG.md
ac4a9757d Merge pull request #1049 from nhooyr/syntax-fix
451f8a0da goPredefinedIdentifiers should link to goBoolean by default
b14be232b Fix reference to go_highlight_{structs,interface}
d9fa1bcca New release: v1.9
b52601889 Update CHANGELOG.md
417fd0ca7 Merge pull request #1046 from mattn/v8.0
168c4a4b3 better to use exists('*exepath')
8575d9e3c Fix bug in syntax highlighting (#1035)
0a25a0ddd Update CHANGELOG.md
8d6356616 Exclude iota and nil from goBoolean (#1030)
c63c798f7 Update CHANGELOG.md
a5222bfdc fmt: print full goimports path if it's not compatible
2aad0a8a6 Update CHANGELOG.md
495cf403c Merge pull request #1007 from magicalbanana/highlight-field-field
990916af8 Update CHANGELOG.md
1f143f3dc Merge pull request #1020 from kaneshin/patch-1
5b53a72bb Update CHANGELOG.md
d5ac28c35 Merge pull request #1011 from ArkBriar/master
804130fc9 Update CHANGELOG.md
8de252ae9 allow :GoDoc on modified buffers (#1014)
9380cc445 Update CHANGELOG.md
31ea0aaf7 Merge pull request #1017 from fd0/add-hint-updatetime
b76f8f501 Update CHANGELOG.md
cbe7d101b Merge pull request #1029 from nhooyr/master
5d4fcaa47 Update CHANGELOG.md
0a66df41d Merge pull request #1023 from yyoshiki41/update/doc
4b9258e8a update jumplist in :GoDef
c306de904 Add go_highlight_generate_tags in docs
313127ee4 Rename GoMetalinterAutoSaveToggle to GoMetaLinterAutoSaveToggle
63bdcdf65 Update CHANGELOG.md
f1f6e71a3 Merge pull request #1016 from kisielk/patch-1
241818330 SameIds: Fix Sentence, add hint to 'updatetime'
41dfa207b set updatetime if g:go_auto_sameids is enabled
d72ed3ab5 Fix syntax goFormatSpecifier: check '%%'
359a8c5ca Highlight nested fields or chained fields
a4ba0a5b1 Update CHANGELOG.md
973724f6e Merge pull request #998 from bhcleek/sameid-autocmd
a0edd32f7 Update CHANGELOG.md
4c2069649 Merge pull request #999 from umitkablan/master
2514a4221 Update CHANGELOG.md
67084f500 Merge pull request #1000 from fatih/add-gocode-socket-type
d9c531fca complete: add g:go_gocode_socket_type setting
a6e097cb9 Fixed Windows tagbar&GoCallers errors with g:go#use_vimproc=0.
7d1433761 Re-evaluate sameids after buffer is re-entered
a0d769dd9 Update CHANGELOG.md
e7f5e5756 Update CHANGELOG.md
37b95186a Fix :GoSameIds for light background, GUI, and after changing colour schemes (#983)
ecac6556a util: do not clear the screen
99d5bf8e0 Update CHANGELOG.md
445e5bf10 use guru's -modified flag (#944)
af2798046 Update CHANGELOG.md
49f4e2a34 Doc cleanup (#987)
7bcf1f554 Update CHANGELOG.md
011d76fbd Merge pull request #988 from Carpetsmoker/windows-shell
2dfd933c5 Use go#util#IsWin
53261bc0a More robust resetting of the shell.
3030ecc86 New release: v1.8
12b3f65a0 Update CHANGELOG.md
4f06fda92 Merge pull request #971 from fatih/gooaddtags
6e0d6c363 commands: add :GoAddTags
13affe57d fixed goField regexp (#981)
51930f327 Update CHANGELOG.md
7af695b1b add commands to toggle settings that control auto behavior (#945)
55fe1705d Escape all template path special characters (#966)
d3fb314ea Update CHANGELOG.md
881a9cc0f Reset shell before running a command in go#util#System (#967)
9ed023b39 Merge pull request #972 from roxma/master
b329b1c10 Merge pull request #974 from bhcleek/sameid-warning
6adfed303 Update CHANGELOG.md
4a403b6e3 Merge pull request #980 from fatih/fixes-from-wladh
7e30f82b5 Add guifg to go coverage syntax.
4c8a7046e Make GoInstall use detected $GOPATH
85a9d62e4 Merge pull request #979 from datanoise/master
59f38f020 link goPointerOperator and goVarArgs to goOperator.
5e36218d0 goVarArgs highlight groups is too gready.
7689ab482 add warning to GoSameIds when matchaddpos is unavailable
bc2746c1e add SimpleAutoComplPop to the list
59a236108 Merge pull request #969 from vrischmann/master
62d6026b9 tool: use double quotes in PackageName for Windows compatibility
69e038e5c Update CHANGELOG.md
a4c9c4e44 Merge pull request #968 from fatih/idawes-master
d24cd35a1 doc: add more context
844cf27ca Consisten mappings and commands
e272cf309 Merge branch 'auto-toggle' into idawes-master
271766d76 Merge branch 'master' of https://github.com/idawes/vim-go into idawes-master
e977689a3 guru: add GoSameidsAutoToggle
c8cf79257 Merge pull request #946 from bhcleek/buffer-sameids
b7ac76ad7 Update CHANGELOG.md
1e7d0480a Merge pull request #962 from fatih/separate-coverage-syntax
e648b71f6 syntax: add goCoverage specific highlights
c3cd94941 Update README.md
368f72927 Update README.md
9754508b3 Merge pull request #958 from datanoise/master
7c096c20e go#fmt#Format fails on new unsaved files
c5101afa6 Update CHANGELOG.md
4de469674 Merge pull request #957 from fatih/make-goimports-great-again
5fb42bd4e fmt: pass full name to -srcdir for upcoming new features
0faef8a43 refactor: use lowercase function names
2db19ffd2 Merge pull request #952 from magicalbanana/fix-setfperm
d8eb1cdb7 Fixes the 'setfperm' issue
8ce50ff3e guru: make whicherrs usable for empty results
23abbac23 Update CHANGELOG.md
81bee4405 Merge pull request #948 from krishicks/guru-add-whicherrs
71aeea6d5 Merge pull request #949 from ArkBriar/master
1a38ce6c7 Merge pull request #942 from dobegor/patch-1
c38cb772d Update CHANGELOG.md
902f626c4 Merge pull request #922 from joegrasse/master
3a86d0f8a guru: add :GoWhicherrs
140a2ff75 Replace 'he=e-1' with '\ze' to avoid conflicts with other highlight plugins (e.g. luochen1990/rainbow).
e53e6126f use CursorHold instead of CursorMove for go_auto_sameids
081f3423e Vim & Neovim now both support JSON
595df5118 Update CHANGELOG.md
684548da2 Merge pull request #937 from dangogh/yaml-tag
9fce7407a Merge pull request #939 from bhcleek/allow-disable-auto-features
96105a22a Merge pull request #938 from bhcleek/reduce-guru-what-flicker
94f579cdc Merge pull request #940 from bhcleek/customizable-goSameId-highlight
4801d2853 Add ToggleSameIds
df02251e4 Neovim supports JSON, :GoSameIds now works.
3715a8908 allow goSameId highlight group to be overridden
30a6a2c6c allow auto features to be disabled without restarting Vim
7a312d97f reduce flicker when using go_auto_sameids
789de8e4e Update CHANGELOG.md
78a766756 Merge pull request #936 from fatih/bhcleek-master
41ae14a74 guru: improvements
6de8841f0 Add support to run Guru commands on umodified buffers
82ff2d872 add setting to automatically run :GoSameIds
16f3d7415 implement :GoSameIds
f9549b752 add yaml tags completion
7fe846b1c Merge pull request #930 from datanoise/master
ab01e7e5a Merge pull request #931 from svanburen/patch-1
7d1616ad4 Fix typo in docs
9816d691a small syntax fixes
dede10f4a Update CHANGELOG.md
0b1fa09d9 Merge pull request #927 from fatih/json-snippet-case-type
153f2231e snippet: make json field tag expansion smarter
7876aaf55 snippets: make json snippet more smarter
a049691f0 snippet: fix panic
01624ffc3 Update CHANGELOG.md
98d4f5eee Merge pull request #926 from fatih/add-snippet-err-panic
cb442358b snippets: add errp for error panic
48d31eb2b Change setting name to something better and coherent with others
4778de4ae Update CHANGELOG.md
d142f7db3 Merge pull request #918 from fatih/auto-create-template
23b7c2268 Fill the content of a new file automatically based on the context
eb585ff6d Merge pull request #924 from tsne/fix-type-highlighting
cd35ebdf5 fix highlight type keyword
2c5295871 Restore original files permissions
25bbb3135 Update CHANGELOG.md
d3fb19d78 Merge pull request #920 from dobegor/master
498e709cf Fixed typo causing GoDocBrowser to fail
7c3414e5f Update CHANGELOG.md
50ceca52a Various improvements to syntax highlighting. (#917)
ecfd5cff3 Update CHANGELOG.md
1a9cc7867 Merge pull request #915 from fatih/indentations-fixes
5a4abb592 style: use two spaces for all files
a7a37517a Update CHANGELOG.md
1e9590dba Merge pull request #910 from fatih/def-modified-file
336e3b090 def: support modified files
b12fd9bb5 Update CHANGELOG.md
9875a4690 Merge pull request #909 from fatih/fix-go-test-compile
1457e6e2c cmd: fix :GoTestCompile leaving behind artifacts
523d5a435 Update CHANGELOG.md
7b92adf89 Merge pull request #904 from fatih/fix-goimports-picking-srcdir
67489a688 fmt: fix goimports picking up -srcdir
6efcfb275 Update CHANGELOG.md
4f20c2524 Merge pull request #900 from fatih/fix-coverage-nvim
f846d078e coverage: fix running coverage for neovim
76d295c19 Update CHANGELOG.md
478a23942 Merge pull request #897 from ryunix/fix-doc
1147bbc70 Update CHANGELOG.md
a3452fdf2 Merge pull request #895 from mattn/fix-openbrowser
492e54bb2 Update CHANGELOG.md
8d73ed0bc Merge pull request #894 from mattn/godoc
85579cbd5 Fix doc
98fe1f95e escape #
cf4f0ea1e open GodocView if argument is provided for :GoDoc
6a0c880df New Release: v1.7.1
0fd6f46e7 doc: fix wrong documentation about field and struct highlighting
8c9cbabfd Merge pull request #892 from ryunix/fix-typo
ab62d6ddd Fix typo
191ba9a60 New release: v1.7
28e63a50b Update CHANGELOG.md
9b198271a Merge pull request #888 from fatih/go-def
10187323d def: add go_def_mode setting, we now support godef too
3c099cc66 cmd: check test files only for coverage
473c0bdfb Update CHANGELOG.md
a284b6196 Merge pull request #854 from hhsnopek/hs.goField
ae89f68f1 add goField
2f115dcf7 Update CHANGELOG.md
e46c5efcd Merge pull request #883 from macb/get_update
04a0faae2 make go get -u configurable
211289683 Update CHANGELOG.md
28d6c0048 Increase compatibility with tcsh (#869)
684be5dfb Merge pull request #882 from yukidarake/fix-neosnippet-invalid-syntax
485d8ba3c Fix broken snippets
c72fd199f Update CHANGELOG.md
99e06a043 cmd: fix showing SUCCESS for non tests
b7147085c Revert wrong fix
8e0ea1266 cmd: run tests only if the test file exists
e6a76161c cmd: fix runtime error for :GoCoverage
acb2d8c91 docs: add docs for go-import and go-imports
bc3726303 Update CHANGELOG.md
572617f16 Merge pull request #879 from fatih/do-not-create-test-binary
be326e6a8 cmd: do not create test binary artifact for :GoTestCompile
a9611d7d6 Properly use exepath for CheckBinPath (#864)
b25dbfb23 Update CHANGELOG.md
b74234bbd Merge pull request #878 from edganiukov/goimports-mapping
484ead33c added goimports mapping
e9f44d933 fmt: use helper function to print warning
53c779f82 Update CHANGELOG.md
0a1f71faa Merge branch 'master' of https://github.com/fatih/vim-go
46da9d331 coverage: use color aliases for backwards compability
42c73c2a8 Update CHANGELOG.md
92632a024 def: quote the file argument completely for tcsh
8b1c0e93f Update CHANGELOG.md
dc1496713 Merge pull request #862 from fatih/fix-lint-escape
eb19cc520 textobj: escape files for motion as well
c1e976135 Merge pull request #866 from trayo/master
76d43aca5 fixes typo
d54819ddc Update CHANGELOG.md
5d5a5b228 Merge pull request #861 from DeepAnchor/master
d909e2e41 lint: escape directory for shell invocation
d570e89b4 Add non-standard workspaces to package path list
48cc65dfb Update CHANGELOG.md
8765cee38 Update CHANGELOG.md
a3c0dab15 Merge pull request #856 from fatih/add-gocode-autobuild
b0e00f631 complete: enable autobuild and propose-builtins
5c74881e0 Update CHANGELOG.md
fea6ef317 Merge pull request #855 from fatih/fix-gorename
4311f5b18 rename: reload all files to reflect the new changes
1ec3373f2 Update CHANGELOG.md
96b0aa584 Merge pull request #847 from shawnps/patch-1
eb6ae9d1c use https in playground URL for GoPlay
1f2245335 impl: this is a better copy
5e589bba6 Update CHANGELOG.md
87a3bb954 impl: add vim-go-impl (#846)
1dfaae447 Added http to http handler snippet (#843)
78c56adc1 Update CHANGELOG.md
927e31ad2 add nnoremap <buffer> <silent> <C-w><C-]> :<C-u>call go#def#Jump(spli… (#838)
2d9124f1a Updated `benchmark` snippet to use for loop (#840)
9f0cf00f6 path: do not exepath
ca46f2d0a Update CHANGELOG.md
95f43b8ab Update CHANGELOG.md
62f8aa38e don't default to binaries in the PATH (#823)
d2f22ba3d Update CHANGELOG.md
ff70ed5b6 Snippets for Example and Benchmark (#836)
5a846f358 Document using quickfix list for syntastic (#834)
91ffc4108 Update CHANGELOG.md
7a5dc84aa Merge branch 'master' of https://github.com/fatih/vim-go
bbe4357a6 mappings: fix freevars mapping
849a8bb0b guru: fix preventing printing the output twice
91ff811b6 Update CHANGELOG.md
36e96cd52 Update CHANGELOG.md
56ac0d7dc guru: fix providing meaningful error messages instead of showing "-1"
e3ebd69d2 Update CHANGELOG.md
93831e8b3 guru: implements needs scope to function well
1ebda8368 Update CHANGELOG.md
2541180a5 Merge pull request #813 from fatih/fix-gohtmltmpl
4679725cf Update CHANGELOG.md
1469db423 Merge pull request #827 from fatih/fix-coverage-syntax
766e836bc coverage: fix for cases of syntax=off
dcbe7cef6 Update CHANGELOG.md
42a782f38 Merge pull request #821 from sillyousu/master
6e2df56e7 Merge pull request #826 from mattn/fixes-824
7a8384acc exit code should be checked with 0
12e8bed78 pass -tags flag to guru
dfb0ee1ec Update CHANGELOG.md
f830d0dc1 use go#util#system(), go#util#shell_errors() instead of system(), v:shell_error (#801)
e9df17fc7 Update CHANGELOG.md
08a9c7c70 Merge pull request #816 from andrewstuart/master
ede2ec511 Add http handler snippets
480b7660f New release: v1.6
8a78ded14 def: reuse is a better word
d439e855a ftplugin: add gohtmltmpl.vim
a605c6216 Merge pull request #812 from fatih/coverage-improvements
7351848a2 coverage: add :GoCoverageClear and :GoCoverageToggle
4f67ae2dc Merge pull request #802 from sethvargo/patch-1
4c7967c08 Clarify that mappings are enabled by default
b3fddb60f Merge branch 'master' of https://github.com/fatih/vim-go
abd3d1490 doc: fix wording for (go-run) mapping
fd10ba68f Handle windows paths (#799)
5c45ba9c4 coverage: check if matchaddpos exists
a0f8bd34d def: fix selecting from tag stack
c3fdca0e4 def: fix displaying guru errors
cd473451e Update CHANGELOG
24aeacc43 def: jump to an existing buffer if its exist
58d73af73 Merge branch 'master' of https://github.com/fatih/vim-go
53e924411 def.vim: revert back mapping to ctrl-t
c0f7d3ee8 Update CHANGELOG.md
16cc4d62c mappings: change CTRL-t to CTRL-T for compatibility
cce10c75d guru: fix output format
ab55541df def: use script local variable
3a596f5bf Update README.md
2e5996015 Merge pull request #781 from fatih/guru
3eac959bf Add support for new guru tool
b97962689 Merge pull request #794 from cuzelac/master
985c0922a Update CHANGELOG.md
075cfb3a7 Update CHANGELOG.md
fbc9b4e6c Update CHANGELOG.md
6d88d521b improve :GoDef and tag stack commands
449dc59a4 GoTestFunc: support testable examples
80f6cf8fa Add custom godef jump stack (fixes #667) (#776)
385a92f01 Update Changelog
7f248b206 Merge pull request #782 from fatih/godoc-improvement
160bedc2b syntax: remove not used godoc.vim
f478b530c doc: use gogetdoc to display docs in a better way
9f2fac6cb Merge pull request #790 from fatih/coverage-term-fix
52dbc47b7 coverage: fix not working if go_term_enabled is set
5ce65295c coverage: open only if file exists
a4f44db42 Merge pull request #746 from eliasgs/master
451cb1acc Update README.md
f6c71e7c7 Update docs
fe718fc9c Merge branch 'master' of https://github.com/fatih/vim-go
dc98bc775 Update Readme.md
aea106131 Merge pull request #787 from cespare/optional-format-highlight
cc4584404 Remove whitespaces
952b75259 Add go_highlight_format_strings option for printf-style format strings
1ac0d1f8e Update Changelog
e35dfca6c Remove artifact
407908ad6 Merge pull request #786 from fatih/t-yuki-vim-go-coverlay
0eff02604 coverage: improvements and integration into vim-go
f92fac2fd Add vim-go-coverlay
e93048420 fmt: use shellescape instead of fnameescape
5c282de1a Update CHANGELOG.md
1a82fb7d5 Add fix
c4183771f term: close location list if cmd's result is successful
ef9bc716a term: close location list if cmd's result is successful
230b1bb69 Update CHANGELOG.md
0ff0a2dde Add CHANGELOG.md
19cfa6fbb jobcontrol: add AddHandler and RemoveHandler API to catch on_exit callback for callers of caller
git-subtree-dir: vim/bundle/go
git-subtree-split: bf390af42c53ae217356d7763ac3e7767f0162a4
7 years ago
## unplanned
## 1.17 - (March 27, 2018)
FEATURES:
* **Debugger support!** Add integrated support for the
[`delve` ](https://github.com/derekparker/delve ) debugger. Use
`:GoInstallBinaries` to install `dlv` , and see `:help go-debug` to get
started.
[[GH-1390]](https://github.com/fatih/vim-go/pull/1390)
IMPROVEMENTS:
* Add descriptions to neosnippet abbrevations.
[[GH-1639]](https://github.com/fatih/vim-go/pull/1639)
* Show messages in the location list instead of the quickfix list when
`gometalinter` is run automatically when saving a buffer. Whether the
location list or quickfix list is used can be customized in the usual ways.
[[GH-1652]](https://github.com/fatih/vim-go/pull/1652)
* Redraw the screen before executing blocking calls to gocode.
[[GH-1671]](https://github.com/fatih/vim-go/pull/1671)
* Add `fe` -> `fmt.Errorf()` snippet for NeoSnippet and UltiSnippets.
[[GH-1677]](https://github.com/fatih/vim-go/pull/1677)
* Use the async api when calling guru from neovim.
[[GH-1678]](https://github.com/fatih/vim-go/pull/1678)
* Use the async api when calling gocode to get type info.
[[GH-1697]](https://github.com/fatih/vim-go/pull/1697)
* Cache import path lookups to improve responsiveness.
[[GH-1713]](https://github.com/fatih/vim-go/pull/1713)
BUG FIXES:
* Create quickfix list correctly when tests timeout.
[[GH-1633]](https://github.com/fatih/vim-go/pull/1633)
* Apply `g:go_test_timeout` when running `:GoTestFunc` .
[[GH-1631]](https://github.com/fatih/vim-go/pull/1631)
* The user's configured `g:go_doc_url` variable wasn't working correctly in the
case when the "gogetdoc" command isn't installed.
[[GH-1629]](https://github.com/fatih/vim-go/pull/1629)
* Highlight format specifiers with an index (e.g. `%[2]d` ).
[[GH-1634]](https://github.com/fatih/vim-go/pull/1634)
* Respect `g:go_test_show_name` change for `:GoTest` when it changes during a
Vim session.
[[GH-1641]](https://github.com/fatih/vim-go/pull/1641)
* Show `g:go_test_show_name` value for `:GoTest` failures if it's available.
[[GH-1641]](https://github.com/fatih/vim-go/pull/1641)
* Make sure linter errors for the file being saved are shown in vim74 and nvim.
[[GH-1640]](https://github.com/fatih/vim-go/pull/1640)
* Make sure only linter errors for the file being saved are shown in vim8.
Previously, all linter errors for all files in the current file's directory
were being shown.
[[GH-1640]](https://github.com/fatih/vim-go/pull/1640)
* Make sure gometalinter is run on the given directories when arguments are
given to :GoMetaLinter.
[[GH-1640]](https://github.com/fatih/vim-go/pull/1640)
* Do not run disabled linters with `gometalinter` .
[[GH-1648]](https://github.com/fatih/vim-go/pull/1648)
* Do not prompt user to press enter after when `gometalinter` is called in
autosave mode.
[[GH-1654]](https://github.com/fatih/vim-go/pull/1654)
* Fix potential race conditions when using vim8 jobs.
[[GH-1656]](https://github.com/fatih/vim-go/pull/1656)
* Treat `'autowriteall'` the same as `'autowrite'` when determining whether to
write a buffer before calling some commands.
[[GH-1653]](https://github.com/fatih/vim-go/pull/1653)
* Show the file location of test errors when the message is empty or begins
with a newline.
[[GH-1664]](https://github.com/fatih/vim-go/pull/1664)
* Fix minisnip on Windows.
[[GH-1698]](https://github.com/fatih/vim-go/pull/1698)
* Keep alternate filename when loading an autocreate template.
[[GH-1675]](https://github.com/fatih/vim-go/pull/1675)
* Parse the column number in errors correctly in vim8 and neovim.
[[GH-1716]](https://github.com/fatih/vim-go/pull/1716)
* Fix race conditions in the terminal handling for neovim.
[[GH-1721]](https://github.com/fatih/vim-go/pull/1721)
* Put the user back in the original window regardless of the value of
`splitright` after starting a neovim terminal window.
[[GH-1725]](https://github.com/fatih/vim-go/pull/1725)
BACKWARDS INCOMPATIBILITIES:
* Highlighting function and method declarations/calls is fixed. To fix it we
had to remove the meaning of the previous settings. The following setting is
removed:
* `go_highlight_methods`
in favor of the following settings and changes:
* `go_highlight_functions` : This highlights now all function and method
declarations (whereas previously it would also highlight function and
method calls, not anymore)
* `go_highlight_function_calls` : This higlights now all all function and
method calls.
[[GH-1557]](https://github.com/fatih/vim-go/pull/1557)
* Rename g`g:go_metalinter_excludes` to `g:go_metalinter_disabled` .
[[GH-1648]](https://github.com/fatih/vim-go/pull/1648)
* `:GoBuild` doesn't append the `-i` flag anymore due the recent Go 1.10
changes that introduced a build cache.
[[GH-1701]](https://github.com/fatih/vim-go/pull/1701)
Squashed 'vim/bundle/go/' changes from 3efc952a7..bf390af42
bf390af42 New release: v1.16
e0f9c34ff Merge pull request #1626 from delphinus/feature/add-note-for-vim8
b670f2372 Add note for deoplete on Vim 8
6fb095f1d update CHANGELOG.md for #1611
19ae4ac25 Merge pull request #1611 from hiberabyss/master
d6609168e verify 'vsplit' first
c5d695482 also check whether mode contains 'vertical'
3a8cc93e5 Fix go#template#create() for directories that don't exist yet (#1618)
60a03b1ba fix errorformat for compilation errors (#1620)
7836e8a06 match vsplit instead of vertical
ebe70faf6 improve neovim support
f4b4ba13f Merge pull request #1583 from bhcleek/tests/test-output-parsing
40e2e1992 update changelog
6bfc9e2a6 Merge pull request #1613 from bhcleek/fix-neovim-tests
869928c83 Run all test files for Neovim, but skip :GoTest tests
3bc0099e4 Make sure all tests run in Neovim
978f01054 Merge pull request #1607 from Carpetsmoker/fillstruct-line
85c966323 change go_test_prepend_name to go_test_show_name
3f53d9bc7 add tests for test output parsing
b8ad7d0eb Implement -line for fillstruct
0c98bdf53 Another Travis test
3df438c7d See if this get build on master
b50d8f2c8 Fix installing `gocode` on Windows (#1606)
2a4272238 Append Go file type when creating temporary file (#1601)
7904a2776 Add support for denite.nvim about :GoDecls / :GoDeclsDir (#1604)
47251aa65 improve testing story (#1605)
21c262935 Update changelog.md
48c12aa1a Merge pull request #1597 from fatih/go-doc-url
2fe16b99f Support minisnip (#1589)
6366c6ef2 Code coverage reports with covimerage (#1586)
539cec678 Highlighting arguments (#1587)
7f4673573 Merge pull request #1602 from mocheryl/rename-usage-function
a8af95cc2 Rename the usage function to make it callable
7938c88eb Update Changelog.md
3953d53e6 doc: use isnot instead of != for better safety
5daaaf640 guru: scope is not needed for describe mode (#1596)
07af1c520 doc: make godoc instance configurable
bbe47d165 Revert "Use :sbuffer in :GoAlternate" (#1595)
b870a052c Merge pull request #1592 from bhcleek/fix-vim-vint
f63ac32c4 fix vim-vint installation
c923e2927 update CHANGELOG.md for #1585
feee7fa82 Merge pull request #1585 from Carpetsmoker/test-alternate
8554d229a show compiler errors when :GoTest fails (#1588)
48ecb61af Use :sbuffer in :GoAlternate
ccf98e095 Update CHANGELOG
974b2896c Remove g:go_autodetect_gopath (#1525)
a9bf3cbaa Some small test running improvements (#1584)
6318e1aa0 Sync syntax from start after gofmt (#1582)
c191a672e Fix :GoImpl completion (#1581)
432dc7f7f prepend test name to test errors (#1578)
e2559cb3f update CHANGELOG.md (#1577)
ca8ef8a9f Merge pull request #1513 from bhcleek/fix-test-error-processing
57ac640df improve test output handling
456186fd0 update CHANGELOG.md (#1573)
bcd555d47 Merge pull request #1527 from bhcleek/fix-fugitive-errors
a50c83146 Add test and fix Exec() call
4fe11eacf eliminate errors when trying to run a command in a directory that does not exist
ebbc5b34d Add some VimScript lint tools (#1558)
a81c1bd52 Merge pull request #1565 from bhcleek/changelog/1562-1563
e581f3f01 typo (#1569)
c6ea0c1fe update CHANGELOG.md for #1562
c0d209cce Merge pull request #1562 from washtubs/master
d79dd9cbe update CHANGELOG.md for #1563
90384c0ca Merge pull request #1563 from horgh/horgh/run-gometalinter-on-tests
770164ab2 Add --tests only when using the default gometalinter command
70ecda391 Pass --tests flag to gometalinter so that we lint test files
d05d93a7e Make :GoTestCompile respect build tags
ba6ce99a6 Expand test framework (#1548)
bd35a4ec2 Add scripts/docker-test (#1550)
3eefef0b1 Merge pull request #1553 from wuzangsama/master
8ee54fa96 comment out err modeline
d735fc9fc Merge pull request #1551 from bhcleek/docker-image-install-vim
ee377102d run scripts directly instead of via make in Dockerfile
95584e32d install vim in the Docker image
d27a937a3 Ask for "go env" (#1547)
7efc3fe06 Better testing (#1476)
40e02891d Fix UltiSnips gpl snippet (#1535)
44e7173aa add modeline to CHANGELOG.md (#1546)
4409db9b2 Merge pull request #1540 from bhcleek/changelog/1538
06ba514d0 update CHANGELOG.md
5a3a2319a Merge pull request #1538 from 'tmatias:toggle_same_ids_check_group'
ee76970c5 improve go#guru#ClearSameIds readability
d3832a4e1 check group in when toggling same ids
087899210 Display warning when people use an older Vim (#1524)
cc93090b0 Add .editorconfig (#1523)
b28351fdd Merge pull request #1528 from bhcleek/add-modelines
4a8e342e8 Merge pull request #1529 from fatih/fix-go-play
219b9a12c tool: fix :GoPlay by using the correct IsMac() function
448a95767 add missing modelines
51dbbc412 Merge pull request #1461 from bhcleek/gopath-autodetect-default
2e6b84757 disable g:go_autodetect_gopath by default
faf628814 Merge pull request #1521 from bhcleek/changelog-1519
544c894c3 update changelog
0643e9ecc Merge pull request #1519 from bhcleek/fix-go-test-compile
b2ffdaa8e do not try to run tests for :GoTestCompile
011dcadc0 normalize message output (#1512)
f6196ad98 Update ChangeLog
112ea9090 Merge pull request #1465 from Carpetsmoker/rename-complete
57d60ff05 Also clarify docs a bit
d3a07e2c3 Address PR feedback
172139cab Better prefill and completion for :GoRename
2f838940e Clarify documentation for g:go_play_browser_command (#1495)
bd5bd982d edit issue template (#1502)
f61f97fbb edit help file and function description (#1503)
da4a86afa Update CHANGELOG
6ba5992fc Turnoff window resize if its still visible (#1488)
8ccaa5134 edit documentation (#1504)
863008a33 Fix util echo function: ensure l:msg is a list after split() (#1498)
96995056c Merge pull request #1492 from fatih/new-release
010d0cc59 New release: v1.15
4d518eef8 Merge pull request #1491 from fatih/update-changelog
a0a528a0f Update CHANGELOG.md
e3725d45a Merge pull request #1474 from bhcleek/close-gofmt-list-vim7.4
be4133a0b Merge pull request #1485 from cassiobotaro/master
1c1980fd6 ensure fmt list gets closed when title cannot be checked
7cb6d701c Fix #1484 GoDecls break when motion returns empty
dcd3e3bfb Don't use `v:t_list`. (#1479)
54150c199 Fix GoInstallBinaries error message (#1478)
8914c7e39 Allow arguments for :Go{Install,Update}Binaries (#1467)
2a9c03edd Clarify the documentation for the guru scope. (#1466)
ff2936872 Add go#util#Exec() (#1471)
620717490 Documentation for syntax highlighting (#1469)
78b7db128 Support fzf on GoDecls[Dir] (#1437)
458d23085 Merge pull request #1463 from bhcleek/better-assignment-highlight
09911f93f update CHANGELOG.md (#1451)
8fe9a2425 reduce goVarAssignment regex branches
40bdb6ab0 Implement :GoFillStruct (#1443)
0371da68c Show multiline errors (#1456)
40bf77e5f teach goVarAssign about all assignment operators
5e4ed05df Merge pull request #1460 from bhcleek/update-change-log-higlight-assignment
7a3316f59 update changelog
7a7af87f8 Merge pull request #1458 from xlucas/master
7fbccd9da Variable assignments syntax highlight
1e7560e0e Merge pull request #1453 from Carpetsmoker/fix-list-type-commands
6ce489126 Fix string comparison
2b2ffcdde Fix syntax for `s:default_list_type_commands`
2162c2fa1 Fix :GoBuild shell escaping (#1450)
5730b71ea Merge pull request #1449 from bhcleek/consolidate-list-type-command-keys
b319ed975 Load ftplugin/html.vim for gohtmltmpl (#1442)
2b3610ff5 fix arguments to jobcontrol#s:spawn (#1448)
0ff17516c change GoModifyTags default list type
ce9e0fcd8 refactor for maintainability
262fb6308 doc: add example for go_list_type_commands
6b7bab65a Update CHANGELOG.md
df60f2652 support for customizable lists types (#1415)
dfc89933c Update CHANGELOG.md
eac41c98a Merge pull request #1439 from guns/fix-async-guru-data-race
17c03852f Parse messages from guru on close_cb, not exit_cb
b71f2b757 Fix ChangeLog links (#1436)
5f0c5941b Fix go#package#FromPath() (#1435)
2d36a7882 Merge pull request #1434 from fatih/remove-brackets
a5cdeb59d CHANGELOG.md: fix GH links syntax
e287f9b83 Merge pull request #1433 from fatih/fix-issue-links
5ecd7966f CHANGELOG.md: fix markdown syntax to link to GH issues/pr's
b88a5c989 Proof read documentation: "Intro", "Install", and README (#1432)
f71d6e70a Update CHANGELOG
75d0e9f7a GoImpl: support relative (vendor) imports (#1322)
37e5082d4 Add support for unite.vim for :GoDecls / :GoDeclsDir (#1391)
54bcb5bfa Fix g:go_fold_enable, 'comment' value
aa526f0fb Update CHANGELOG
9cce36bd8 Allow folding any comment (#1428)
0be825dd4 Vim syntax match for variable definitions (#1426)
5db7dd6a6 Load buffers with :GoDef relative to cwd (#1277)
506ddafc2 Add support of g:go_doc_command option (#1420)
67a3e972a Show output of vimhelplint failures (#1430)
ea3346620 Remove accidentally committed file; update CHANGELOG
55a54f149 Merge branch 'pr-1414'
63c76f919 Update CHANGELOG.md
b0ae2c584 Merge pull request #1386 from Carpetsmoker/goimpl
6d15159e8 Update CHANGELOG.md
18eba1a08 Merge pull request #1411 from kirstein/master
cdd056ff8 Merge pull request #1377 from Carpetsmoker/fold-pkgcmt
8ba55ec3c Update Changelog.md
fb2763465 Merge pull request #1422 from jasonkeene/ginkgo-faq
79f451448 Some small :GoImpl improvements
125d5caf3 Fold package-level comments
c420b47cd Add FAQ entry for how to run focused ginkgo tests
117c33413 update comment
b5271d098 Fix to fails of GoMetalinter result filepath in subdir. resolve #1413
79152447b term: exit insert mode
52c5b1f74 fmt: fix backwards compatibility with getqflist
df99b193e Update CHANGELOG.md
9a433e5db Merge pull request #1407 from fatih/fix-autoclose-gofmt
a9ad6b3f0 fmt.vim: only close quickfix if its belongs to gofmt
dfd860471 Add initial commit
8eef8ea57 Add all release information to changelog
4fd3a60da Add old changelog (v1.3)
5939bdd8f Add old changelog (v1.4)
9391a575a Add old changelog (v1.5)
30d036a02 Update CHANGELOG.md
ba09b8fef Merge pull request #1401 from fatih/gomodifytags-improvements
e655a39ba Update CHANGELOG.md
a0ecfabad Merge pull request #1400 from cfsalguero/issue-1396
386e81004 tags: use -modified flag and show errors
525fe8af9 Update CHANGELOG.md
e8e49eac5 Merge pull request #1387 from Carpetsmoker/import-comments
cf15171af Add demo link to syntax based folding
25d00acf3 New release: v1.14
5d5c96665 Updaste Changelog.md
c9052d527 def: only show filename to prevent showing long paths
250c6397c Merge pull request #1385 from Carpetsmoker/godef-msg
78a87d866 Merge pull request #1384 from Carpetsmoker/fold-var
9c292d9ee Update CHANGELOG.md
9c49d42a0 Merge pull request #1394 from mikelue/master
239cbec81 Update CHANGELOG.md
6a470dac4 Update CHANGELOG.md
ebdcf3ad9 Merge pull request #1382 from Carpetsmoker/lint
d758e7f52 Update CHANGELOG.md
13b9eb578 Merge pull request #1381 from Carpetsmoker/vet
805334818 Document how to use a different Go binary (#1373)
d4f931d7e Merge pull request #1395 from deltaskelta/doc-typo-fix
e8cf579db Issue 1396 go#def#tab fails if file is already open
60db0a282 Typo fix
c16c29a8a Complement the path of command for different situations of Cygwin environment
ec6500bb4 Allow comments in import blocks
436bfd58f Show message when using :GoDef and opening a new buffer
a683b6a38 Fixes for folding var/const blocks
2d91dbdcf Run :GoLint against the package of the open file
f439c0cb5 Fix filepaths in the quickfix list for :GoVet
76cd99db6 Merge pull request #1356 from antoineco/master
8de2e7df9 Clarify :helpt prerequisite for using :help vim-go
a35c51f3e Update CHANGELOG.md
68c70160f Merge pull request #1371 from Carpetsmoker/new-file
0da59fe21 Update CHANGELOG.md
629cd6d42 Merge pull request #1372 from Carpetsmoker/gofiles-types
3ba1fefa0 Update CHANGELOG.md
307180cd7 Merge pull request #1374 from Carpetsmoker/spaces
82f7e25c5 Update CHANGELOG.md
64bdf041f Merge pull request #1379 from Carpetsmoker/missing-gogetdoc
026728c51 Merge pull request #1378 from clee/fix-contributing-link
64bd8ddd3 Don't show window if "gogetdoc" command isn't found
f8ce5e051 Fix link in CONTRIBUTING.md
6be1c2175 Preserve cursor column through formatting (#1369)
857eaa5b9 Fix various commands when GOPATH contains spaces.
702b1a490 Make :GoDef work if a file path contains spaces
3b7b37626 Allow specifying which filestypes to list for :GoFiles
bd6c4562b Show correct message when editing a new file
2d89f0052 Merge pull request #1368 from anarchyrucks/patch-1
f95eb84f6 Fix typo
1575dcab2 Update CHANGELOG.md
d5f55053f Fold import, var, and const blocks (#1339)
3b6270e06 Update CHANGELOG.md
ab0df08ca Merge pull request #1367 from fatih/improve-cursor-replacement-fmt
838492059 fmt.vim: fix cursor staying on the same line when goimports is used
ca1d7127b Update CHANGELOG.md
e0e8032a7 Merge pull request #1366 from fatih/fix-multiple-src
02c5d8a57 path: fix autp detecting of GOPATH for import paths with string 'src'
d98b80ecf Update CHANGELOG.md
cc28ff699 Merge pull request #1365 from fatih/fix-gofmt-list
e4e992a1c fmt.vim: default to quickfix list for showing errors
d5979c91e Merge pull request #1364 from Carpetsmoker/hl-type
dd6e15468 Don't add offset to goTypeConstructor.
82998ea2f Update CHANGELOG.md
872bef43d Merge pull request #1363 from fatih/fix-array-index
6d8b86ed9 path: fix gobin path for go => 1.7
bfcf8b057 Update CHANGELOG.md
e56673862 Merge pull request #1361 from seanpile/keep_list_open
4e3f55be7 Update CHANGELOG.md
b54de478e Merge pull request #1362 from fatih/fix-swap-file
fd44242d5 fmt: fix blocking ui when swapfile is enabled
06987d569 Added ability to keep the quickfix/location list window open after successful operations instead of autoclosing
58bfea76b Update CHANGELOG.md
8b02779ba Merge pull request #1345 from fatih/include-func-variable
789ffb460 textobj: include function variable for anonymous functions
f08fcab5c Update CHANGELOG.md
657d0937f Merge pull request #1338 from Carpetsmoker/fix-1282
2647e9bda Merge pull request #1340 from Carpetsmoker/vimhelplint
971f3071f Update CHANGELOG.md
acd0be01a Merge pull request #1344 from robot-dreams/patch-1
1a946d9be Fix warning when goimports doesn't support srcdir
55ba44a57 Fix doc lint error
f7df583a0 Add vimhelplint to Travis tests
cfa9713eb Match zero-width in goTypeConstructor
bcf3f23dd Update CHANGELOG.md
0a8af0caa Update CHANGELOG.md
4787f2762 Merge pull request #1335 from Carpetsmoker/go_doc_max_height
290887538 Update CHANGELOG.md
4fd118269 coverage.vim: add echo message for GoCoverage
837143b72 Merge pull request #1336 from rhysd/fix-typo
841457035 fix typos in docs, changelog and sources
2eb88b70a Add g:go_doc_max_height setting
3806c4e59 Update Changelog.md
2df21ebaf Merge pull request #1330 from fatih/go-build-cache
e1c0d7b0b cmd: add -i flag to go build
182a9dd14 Add a note about the recent test refactor
7b93bae4b commands: expose :GoDecls{Dir} command to show a warning
147360e9a Update Changelog.md
91b159a7e Merge pull request #1326 from tmc/coverage-args
f5898d3c8 Create CHANGELOG.md
aefc0a2a0 Merge pull request #1327 from fatih/fix-echo-output-tesst
21cfbbc0d test: fix outputing message when test finishes
b9bef683b coverage.vim: pass along arguments to coverage_job
fec6321d2 Update CHANGELOG.md
d75e17546 Fix syntastic help (#1323)
4f2bdd61a Update Changelog.md
bf9cdc211 Update Changelog.md
913c181b8 Merge pull request #1321 from fatih/improve-import-path
15d3b3c86 package: improve import_path by using go list
61b897f14 Update CHANGELOG.md
bc097c164 Merge pull request #1320 from fatih/cache-env-calls
52e5ad5cf Update CHANGELOG.md
e2be1fa7e Update CHANGELOG.md
a4b64e28e Merge pull request #1318 from bhcleek/feature-test-template
f4be8f612 Use a different template for test files
4f04d680e New release: v1.13
b0a11f016 Improve caching for go env calls
d2e1e1764 Update CHANGELOG.md
404dca66d Merge pull request #1319 from fatih/fix-def-tags
150b2cc05 def: fix passing build tags to guru
16e0ccf28 Update CHANGELOG.md
196792d20 Merge pull request #1317 from fatih/test-compile
21376e689 test.vim: more efficient compiling of test files
7fafcb14f fix coverage to use new test.vim file
9b3aa3f2d Update CHANGELOG.md
161bc4632 Merge pull request #1316 from fatih/fix-test-coloni
8f0029172 test.vim: fix messages with colons
57aaa95ac Merge pull request #1315 from fatih/standalone-test-parsing
d2ff39ca7 test.vim: refactor to use its own parse function
76044c0c5 Merge pull request #1314 from fatih/refactor-parsing
8f9699486 Refactor all test related commands into test.vim
899b741f2 Merge pull request #1311 from tgrosinger/typo-fix
57e062a27 docs: fix typo in command
476239117 Update Changelog.md
60565da2d goimports fails when proj symlinked in GOPATH (#1310)
aec329223 Update Changelog.md
0325c5e04 Specifies the type of list to use in GoMetaLinter, by go_list_type (#1309)
aab6381ea Update Changelog.md
016c03c99 path: do not use a dedicated function for cygwin
3f5dd0a5a Add path convertion for native-win-vim with Cygwin support (#1092)
0235a8f85 Update Changelog.md
66b04e85d Merge pull request #1308 from fatih/improve-fmt-commands
e6533efc8 fmt: change go_fmt_options's type to dict
00ab89e4d Update CHANGELOG.md
b8a6dc963 Merge pull request #1296 from fatih/term-neovim-fix
ff3c10ec4 Update CHANGELOG.md
e63e16602 Merge pull request #1304 from fatih/add-listtype-support
e3760a58d fmt: add support of 'go_list_type' for :GoFmt and :GoImports
8efd1dd73 Update CHANGELOG.md
66e3d342f Merge pull request #1301 from zkry/highlight-interface-struct-fix
f8863b067 Fix the highlighting error by putting the interface\|struct section inside \( \) to correctly identify word boundries
403b9bb29 Merge pull request #1300 from robphoenix/master
276e7abc2 fix single spelling error in vim-go.txt
7b311be14 Update CHANGELOG.md
162e26369 do not jump to the quickfix window when gometalinter is executed (#1293)
1cc18529e Merge pull request #1299 from fatih/fix-tags-settings
07e055236 addtags: unify settings for case setting
c1ae945f6 util: remove nonused go#util#AddTags function
4fda59601 term: fix cwd after running command
05efdfe80 Update CHANGELOG.md
2e1979847 Merge pull request #1295 from etdub/master
fd7d4d40d Change GoLint command to lint the current directory instead of the current file (issue #1263)
7fb96896f Update CHANGELOG.md
26e61829c Merge pull request #1280 from fatih/fix-autodetect-gopath
c609352bb path: return the unmodified GOPATH if autodetect is disabled
6f392c454 Update CONTRIBUTING.md
1143f398e Merge pull request #1279 from fatih/update-docs
8b7d743e5 docs: add new :GoDef mouse mappings
1c6ccb1f2 Update CHANGELOG.md
eb739e185 Merge pull request #1264 from lilydjwg/master
4cdb20ca5 Update CHANGELOG.md
f6554604f Add :GoAddTags transform (#1275)
8532385af Update CHANGELOG.md
8e0ddef60 Merge pull request #1276 from creaky/master
d92a4f6f0 Updated code based on feedback and further analysis
27228dada Merge pull request #1278 from dorons/master
872e4e190 Fixed indent for 'ife' snippet
b57ee9088 Update CHANGELOG.md
1a7887e32 Include keyify support (#1258)
e9bb5eaa4 Fixed issue Vim-Go broken on freebsd #1224
aab745ece Update CHANGELOG.md
cdffa16f5 Merge pull request #1268 from Foxboron/patch-1
f1c6f6649 Include if with inline error handling
78c2a9a0b support <C-LeftMouse> as well
b4936d89b Update README.md
ae5e0d887 Merge pull request #1255 from fatih/readme-improvement
580103e67 Simplify Readme.md
08d0c34d0 Update changelog.md
c71c75e4c Merge pull request #1247 from pborzenkov/close-race
48e0660e2 Update Changelog and add docs for new gometalinter feature
18a5dad3c Merge pull request #1253 from redforks/master
882a1932e Add go_metalinter_excludes config variable
55906b13d Merge pull request #1250 from bradleyfalzon/patch-1
f16e5d9fe Minor typo in change log
26362e4bf New release: v1.12
c20e192ea Update CHANGELOG.md
7871cd94b Update CHANGELOG.md
727aed364 Merge pull request #1248 from fatih/default-gopath
6db12a966 Go 1.8 compatible GOPATH improvements
5c721a278 job: fix race between channel close and job exit
411981189 Update CHANGELOG.md
b14621829 Merge pull request #1246 from fatih/fix-install-arg
58adebd7a cmd: we don't need to shellescape for jobs
e0a7b12e1 Update CHANGELOG.md
5d684f6da Merge pull request #1235 from thsnr/master
58853d520 Update CHANGELOG.md
a83c4c0bc Merge pull request #1242 from danielheller/godef-help-explicit-arguments
cec0fc361 Update GoDef help: remove explicit arguments
1aa048b2d Allow trimming around comments in gotexttmpl syntax.
362e15ab4 Merge pull request #1233 from rigelrozanski/patch-1
8cb66af59 Updated Broken Link
eb8adf52b Tidy up and fix typos
091a8c1f9 Update CHANGELOG.md
0586539e0 Add :GoBuildTags to set build tags (#1232)
cf3aad953 Update CHANGELOG.md
03fc6a710 Add build tags support for gorename (#1225)
b9c815626 Update CHANGELOG.md
71efb2e6d Set GOPATH for both possible go guru execution paths (#1193)
7ff6d8e06 Update CHANGELOG.md
92d0d07a6 Merge pull request #1195 from haleyrc/master
70aba7c27 Update CHANGELOG.md
ac2f89b41 Merge pull request #1197 from jhillyerd/noshowdoc
7149f3eec Update CHANGELOG.md
468fa9823 Merge pull request #1199 from tarrant/master
9a9f010ec Update CHANGELOG.md
2fc67cd72 Merge pull request #1211 from cespare/goimports-options
ded4d3169 Respect go_fmt_options when running goimports
4490a1f67 Fix whitespace and typo (#1201)
68f398b3b Update CHANGELOG.md
a8a253bb8 Update CHANGELOG.md
e4e5e2267 Merge pull request #1204 from fatih/gotags
eca86e03f New GoTags improvements
d3f90c21e Set the filename in the location-list
d5d826a69 Document 'noshowmode' requirement for echo_go_info
884870e88 Modify the resize behavior for godoc
1425decf6 Update CHANGELOG.md
fc1ab4052 Merge pull request #1194 from jblebrun/no-gopath-env-fix
a4edbfc8e Ensure no trailing : in gopath
9b0362562 Update CHANGELOG.md
119eec1b3 Merge pull request #1177 from francescomari/guru-tags
0dacf2917 Update CHANGELOG.md
86834ce79 Merge pull request #1184 from mattn/non-utf8
9cb5965f5 Update CHANGELOG.md
6e832e6c0 Merge pull request #1185 from mattn/errl
f6ad41d15 Update CHANGELOG.md
a8592baf7 Merge pull request #1192 from vieiralucas/patch-1
375ce716c Update CHANGELOG.md
3c5f09de5 Merge pull request #1176 from joshuarubin/neovim_go_build_fixes
d7860c34d Lowercase <Leader> in mappings examples
c29fac849 log.Fatal(err) is useful
ddf3ad471 Support 'encoding != utf-8'
3e8551253 Correctly report the value of the 'g:go_guru_tags' variable
83296ac0b fix :GoBuild issues in neovim
3eb57ac3a New release: v1.11
07dabeb11 Update CHANGELOG.md
001cce799 Merge pull request #1174 from zmb3/zb-godoc-browser
e3a760fd9 Fix :GoDocBrowser for third party package doc.
ba08326b2 Update CHANGELOG.md
41f5fd135 Merge pull request #1146 from horgh/master
7635fc0eb Update CHANGELOG.md
f9391628d Merge pull request #1152 from ismail/ismail-patch-1
8775ba7f5 Merge pull request #1168 from fatih/fix-docs
e3e9fef6a Update CHANGELOG.md
fba058f98 Merge pull request #1167 from fatih/disable-highlight
16ffe5d88 docs: fix unused feature
0a3b205c8 syntax: switch options to off
47447feea Update CHANGELOG.md
283fe500e Merge pull request #1160 from thsnr/master
10af7bc2a Use go_metalinter_command as List after split().
d7c628ff2 Merge pull request #1159 from fatih/godef-tests
e27a00365 tests: add def_test.vim
a9bc540b0 Update readme.md
73f707d46 Merge pull request #1158 from fatih/improve_tests
b586c7e4f tests: add new test, update runttest.vim
b27031ab0 Update CHANGELOG.md
bd6e33ed4 Merge pull request #1157 from fatih/vim-go-tests
145893132 Add travis integration and initial test suite
7d3e4bc8b Merge pull request #1156 from bhcleek/fix-sameids-BufWinEnter
ffe8fc402 clear buffer-local BufWinEnter properly
fa7dc2eaa Update CHANGELOG.md
edcd9c813 Merge pull request #1155 from bhcleek/fix-guru-async
7eeb2f87e use funcref() instead of function() for closures used as callbacks
407dcda3f If GOPATH is empty check for the value of go env GOPATH
95be72ddd go_metalinter_deadline applies in async mode now
e46dd4dde Update CHANGELOG.md
708861202 Merge pull request #1133 from bhcleek/fix-godef-stack-pop
66c72b4ad def: indent
d5abc9d80 Update CHANGELOG.md
054951253 Merge pull request #1132 from bhcleek/fix-godef-split
57e19fa7a Update CHANGELOG.md
398680c1f job: set explicit bang to avoid errors in case it's being used
cd793b75a Update CHANGELOG.md
9f9b93767 Merge pull request #1124 from jimmyfrasche/master
ca4b4437b Update CHANGELOG.md
86adc49b1 Merge pull request #1136 from jdhenke/master
0eaa355a7 Update CHANGELOG.md
8e44afc0f Merge pull request #1145 from entombedvirus/fix_jobcontrol_on_exit_err
709a4585e Update CHANGELOG.md
e15c781d1 Merge pull request #1143 from kechako/fix-indentation-broken
69e2b2c66 Update CHANGELOG.md
7cde15acd Merge pull request #1141 from oystedal/oystedal/1140
39ebca3a1 fixes #1144: "E118: Too many arguments for function: <SNR>173_on_exit"
d1f5dd3bd Update README.md
a55c85338 Fix indentation broken when using a action with a minus sign like `{{-'
d3c9fc07b Change default value of `g:go_asmfmt_autosave` to 0.
93984b340 fix bug in guru vim script
08c881dea Changelog.md: add requirement
66ce0c0d3 make requested changes to documentation and setting name
6bf649098 Merge pull request #1135 from fatih/fix-setloclist
edacc3687 list: set title only for recent Vim versions
6094a38b2 allow popping from jump list when buffer is modified
973ba8c29 handle :GoDef from modified buffer
4a993be12 Update CHANGELOG.md
309c94fbe Merge pull request #1128 from fatih/fix-coverage-syntax
10a8ddcda coverage: no need to change turn on/off syntax
eeae7b0bf Update CHANGELOG.md
b882d1fa7 Merge pull request #1127 from fatih/fix-coverage
4aee04ff7 cmd: do not expand coverage arguments
6ee972ddd Update ISSUE_TEMPLATE.md
d277006b4 Update CHANGELOG.md
01ec25cae Provide a descriptive quickfix/location list title. (#1004)
9e88616c2 Add option to use cwd as package name instead of template
96a07bd88 Update CHANGELOG.md
cb88925a4 Merge pull request #1123 from pborzenkov/job-ccl
40344d43b job: close quickfix window if a job has succeeded
c07e9e0a3 Update CHANGELOG.md
1a9f0ee2e Merge pull request #1122 from fatih/patch-echom-fix
dd2a13642 path: use echom so it's showed when used completion
4944f0ef8 Update Changelog.md
f60e4fd42 Merge pull request #1121 from pborzenkov/statusbar-update
5265ad2da Update CHANGELOG.md
7785d369c Merge pull request #1055 from svanharmelen/f-setlocal-updatetime
0996bdacb Add `g:go_updatetime` to configure a custom `updatetime`
79fa535b1 Always use full path as statusline target directory
bf2110457 Update CHANGELOG.md
b4adab50e Merge pull request #1120 from fatih/gometalinter-statusline
c27297286 lint: add statusline support for GoMetaLinter
d07982689 Update CHANGELOG.md
dcbedd7b8 New release: v1.10
824f44ab8 Merge branch 'master' of https://github.com/fatih/vim-go
8df04a986 New release: v1.10
f3ee8cd5c Update CHANGELOG.md
c0b180a52 Update CHANGELOG.md
d9194b7d1 Update CHANGELOG.md
c44f799be Merge pull request #1089 from tdilo/add-golint-plug-mapping
0b6d16c57 Merge pull request #1119 from fatih/goinfo-improvements
05f7fb837 info: add option to change underlying tool for :GoInfo
cb8329a2b Update CHANGELOG.md
b84f01ae9 Merge pull request #1033 from pborzenkov/coverage
2b34076d0 coverage: allow to run coverage on _test.go files in subdirs
7c27c6be9 Merge pull request #1118 from fatih/fix-wall
d35e866a8 cmd: wall tries to write to unnamed buffer, neglect errors
3b6da4942 Merge pull request #1117 from fatih/test-func-fix
303c0a2bc cmd: fix :GoTestFunc for job API
d3c4fb3d2 Merge branch 'master' of https://github.com/fatih/vim-go
505e726e2 Update README.md
75b6713bc Merge pull request #1114 from fatih/check-job
86c7e12f5 vim: require at least 8.0.0087 for +job features
c212e28fa guru: do not use abort, is not compatible with old Vim versions
b2ecbf8c0 Merge pull request #1110 from fatih/fix-new-variables
b82060212 go: do not use new type variables
59c56f090 Merge pull request #1104 from fatih/vim-8.0-squash
dc8073386 Add vim-8.0 support
362decf1a complete: disable unimported support
303667f4f Update CHANGELOG.md
e198faaa7 Merge pull request #1100 from Alok/add-abort
37f828315 Update CHANGELOG.md
de782e8ac Merge pull request #1101 from haya14busa/option-go_echo_type_info
ec9f4ac3f Merge pull request #1102 from stamm/patch-1
26d766a27 typos in changelog
298520ce1 add an option to show type info when completion is done
a822b9792 Add abort to every autoload function
d85444b32 lint: add (go-lint) plug mapping
10c805b83 Update CHANGELOG.md
fcd04ce1f Merge pull request #954 from fatih/fix-gocode-goroot
23c0cb00c Update CHANGELOG.md
42bc216cc Merge pull request #1067 from bhcleek/fix-sameids-change-buffer
0b631151f Update CHANGELOG.md
be4eae0ba Merge pull request #1070 from svanharmelen/f-highlight-func-calls
64021135f Update CHANGELOG.md
b76d55f52 Merge pull request #1075 from magicalbanana/allow-nested-struct-highlighting
936837ec0 Update CHANGELOG.md
8b73c3f71 Merge pull request #1084 from zmb3/unimported-packages
54b2650c4 Provide completions for unimported packages.
7461762f7 Update CHANGELOG.md
127ecfedd Merge pull request #1083 from fatih/fix-jumping-to-split-modified
54fa4679a def: do not open a split for modified file
80b0ca2d1 Make sure builtins are hightlighted correctly
31c13f672 Syntax nested structs
1f8e10ceb Merge pull request #1072 from hitjim/patch-1
f41f55323 Update license to credit Renee French for Gopher
8faedbebf Update CHANGELOG.md
977b68d22 Merge pull request #1048 from svanharmelen/f-highlight-func-calls
a09d179d8 Clear most recent goSameId highlights groups
bae1529cd util: add go#util#env function
6ca257751 Update CHANGELOG.md
32f9d2bf5 Merge pull request #1062 from lukatendai/master
acab9b3f6 Update cmd.vim
2b19e6c18 Merge pull request #1047 from abhinav/patch-1
4bf1d139f skip go#util#Shelllist if nvim is being used
09522e50c Update CHANGELOG.md
fc4f5a432 Merge pull request #1061 from egonelbre/master
4e3628042 Use transparent background for image.
fecb68867 Update CHANGELOG.md
5fda1883f Merge pull request #1060 from fatih/assets
38ff97edc Add vim-go logo /cc @egonelbre
d6c1ec9a4 Add assets dir with new logo from @egonelbre
8205e3542 Merge pull request #1052 from mattn/sock_type
86b1e7aa2 fix default sock type
961466fb2 Add support for highlighting function calls
7fd92a842 Update CHANGELOG.md
ac4a9757d Merge pull request #1049 from nhooyr/syntax-fix
451f8a0da goPredefinedIdentifiers should link to goBoolean by default
b14be232b Fix reference to go_highlight_{structs,interface}
d9fa1bcca New release: v1.9
b52601889 Update CHANGELOG.md
417fd0ca7 Merge pull request #1046 from mattn/v8.0
168c4a4b3 better to use exists('*exepath')
8575d9e3c Fix bug in syntax highlighting (#1035)
0a25a0ddd Update CHANGELOG.md
8d6356616 Exclude iota and nil from goBoolean (#1030)
c63c798f7 Update CHANGELOG.md
a5222bfdc fmt: print full goimports path if it's not compatible
2aad0a8a6 Update CHANGELOG.md
495cf403c Merge pull request #1007 from magicalbanana/highlight-field-field
990916af8 Update CHANGELOG.md
1f143f3dc Merge pull request #1020 from kaneshin/patch-1
5b53a72bb Update CHANGELOG.md
d5ac28c35 Merge pull request #1011 from ArkBriar/master
804130fc9 Update CHANGELOG.md
8de252ae9 allow :GoDoc on modified buffers (#1014)
9380cc445 Update CHANGELOG.md
31ea0aaf7 Merge pull request #1017 from fd0/add-hint-updatetime
b76f8f501 Update CHANGELOG.md
cbe7d101b Merge pull request #1029 from nhooyr/master
5d4fcaa47 Update CHANGELOG.md
0a66df41d Merge pull request #1023 from yyoshiki41/update/doc
4b9258e8a update jumplist in :GoDef
c306de904 Add go_highlight_generate_tags in docs
313127ee4 Rename GoMetalinterAutoSaveToggle to GoMetaLinterAutoSaveToggle
63bdcdf65 Update CHANGELOG.md
f1f6e71a3 Merge pull request #1016 from kisielk/patch-1
241818330 SameIds: Fix Sentence, add hint to 'updatetime'
41dfa207b set updatetime if g:go_auto_sameids is enabled
d72ed3ab5 Fix syntax goFormatSpecifier: check '%%'
359a8c5ca Highlight nested fields or chained fields
a4ba0a5b1 Update CHANGELOG.md
973724f6e Merge pull request #998 from bhcleek/sameid-autocmd
a0edd32f7 Update CHANGELOG.md
4c2069649 Merge pull request #999 from umitkablan/master
2514a4221 Update CHANGELOG.md
67084f500 Merge pull request #1000 from fatih/add-gocode-socket-type
d9c531fca complete: add g:go_gocode_socket_type setting
a6e097cb9 Fixed Windows tagbar&GoCallers errors with g:go#use_vimproc=0.
7d1433761 Re-evaluate sameids after buffer is re-entered
a0d769dd9 Update CHANGELOG.md
e7f5e5756 Update CHANGELOG.md
37b95186a Fix :GoSameIds for light background, GUI, and after changing colour schemes (#983)
ecac6556a util: do not clear the screen
99d5bf8e0 Update CHANGELOG.md
445e5bf10 use guru's -modified flag (#944)
af2798046 Update CHANGELOG.md
49f4e2a34 Doc cleanup (#987)
7bcf1f554 Update CHANGELOG.md
011d76fbd Merge pull request #988 from Carpetsmoker/windows-shell
2dfd933c5 Use go#util#IsWin
53261bc0a More robust resetting of the shell.
3030ecc86 New release: v1.8
12b3f65a0 Update CHANGELOG.md
4f06fda92 Merge pull request #971 from fatih/gooaddtags
6e0d6c363 commands: add :GoAddTags
13affe57d fixed goField regexp (#981)
51930f327 Update CHANGELOG.md
7af695b1b add commands to toggle settings that control auto behavior (#945)
55fe1705d Escape all template path special characters (#966)
d3fb314ea Update CHANGELOG.md
881a9cc0f Reset shell before running a command in go#util#System (#967)
9ed023b39 Merge pull request #972 from roxma/master
b329b1c10 Merge pull request #974 from bhcleek/sameid-warning
6adfed303 Update CHANGELOG.md
4a403b6e3 Merge pull request #980 from fatih/fixes-from-wladh
7e30f82b5 Add guifg to go coverage syntax.
4c8a7046e Make GoInstall use detected $GOPATH
85a9d62e4 Merge pull request #979 from datanoise/master
59f38f020 link goPointerOperator and goVarArgs to goOperator.
5e36218d0 goVarArgs highlight groups is too gready.
7689ab482 add warning to GoSameIds when matchaddpos is unavailable
bc2746c1e add SimpleAutoComplPop to the list
59a236108 Merge pull request #969 from vrischmann/master
62d6026b9 tool: use double quotes in PackageName for Windows compatibility
69e038e5c Update CHANGELOG.md
a4c9c4e44 Merge pull request #968 from fatih/idawes-master
d24cd35a1 doc: add more context
844cf27ca Consisten mappings and commands
e272cf309 Merge branch 'auto-toggle' into idawes-master
271766d76 Merge branch 'master' of https://github.com/idawes/vim-go into idawes-master
e977689a3 guru: add GoSameidsAutoToggle
c8cf79257 Merge pull request #946 from bhcleek/buffer-sameids
b7ac76ad7 Update CHANGELOG.md
1e7d0480a Merge pull request #962 from fatih/separate-coverage-syntax
e648b71f6 syntax: add goCoverage specific highlights
c3cd94941 Update README.md
368f72927 Update README.md
9754508b3 Merge pull request #958 from datanoise/master
7c096c20e go#fmt#Format fails on new unsaved files
c5101afa6 Update CHANGELOG.md
4de469674 Merge pull request #957 from fatih/make-goimports-great-again
5fb42bd4e fmt: pass full name to -srcdir for upcoming new features
0faef8a43 refactor: use lowercase function names
2db19ffd2 Merge pull request #952 from magicalbanana/fix-setfperm
d8eb1cdb7 Fixes the 'setfperm' issue
8ce50ff3e guru: make whicherrs usable for empty results
23abbac23 Update CHANGELOG.md
81bee4405 Merge pull request #948 from krishicks/guru-add-whicherrs
71aeea6d5 Merge pull request #949 from ArkBriar/master
1a38ce6c7 Merge pull request #942 from dobegor/patch-1
c38cb772d Update CHANGELOG.md
902f626c4 Merge pull request #922 from joegrasse/master
3a86d0f8a guru: add :GoWhicherrs
140a2ff75 Replace 'he=e-1' with '\ze' to avoid conflicts with other highlight plugins (e.g. luochen1990/rainbow).
e53e6126f use CursorHold instead of CursorMove for go_auto_sameids
081f3423e Vim & Neovim now both support JSON
595df5118 Update CHANGELOG.md
684548da2 Merge pull request #937 from dangogh/yaml-tag
9fce7407a Merge pull request #939 from bhcleek/allow-disable-auto-features
96105a22a Merge pull request #938 from bhcleek/reduce-guru-what-flicker
94f579cdc Merge pull request #940 from bhcleek/customizable-goSameId-highlight
4801d2853 Add ToggleSameIds
df02251e4 Neovim supports JSON, :GoSameIds now works.
3715a8908 allow goSameId highlight group to be overridden
30a6a2c6c allow auto features to be disabled without restarting Vim
7a312d97f reduce flicker when using go_auto_sameids
789de8e4e Update CHANGELOG.md
78a766756 Merge pull request #936 from fatih/bhcleek-master
41ae14a74 guru: improvements
6de8841f0 Add support to run Guru commands on umodified buffers
82ff2d872 add setting to automatically run :GoSameIds
16f3d7415 implement :GoSameIds
f9549b752 add yaml tags completion
7fe846b1c Merge pull request #930 from datanoise/master
ab01e7e5a Merge pull request #931 from svanburen/patch-1
7d1616ad4 Fix typo in docs
9816d691a small syntax fixes
dede10f4a Update CHANGELOG.md
0b1fa09d9 Merge pull request #927 from fatih/json-snippet-case-type
153f2231e snippet: make json field tag expansion smarter
7876aaf55 snippets: make json snippet more smarter
a049691f0 snippet: fix panic
01624ffc3 Update CHANGELOG.md
98d4f5eee Merge pull request #926 from fatih/add-snippet-err-panic
cb442358b snippets: add errp for error panic
48d31eb2b Change setting name to something better and coherent with others
4778de4ae Update CHANGELOG.md
d142f7db3 Merge pull request #918 from fatih/auto-create-template
23b7c2268 Fill the content of a new file automatically based on the context
eb585ff6d Merge pull request #924 from tsne/fix-type-highlighting
cd35ebdf5 fix highlight type keyword
2c5295871 Restore original files permissions
25bbb3135 Update CHANGELOG.md
d3fb19d78 Merge pull request #920 from dobegor/master
498e709cf Fixed typo causing GoDocBrowser to fail
7c3414e5f Update CHANGELOG.md
50ceca52a Various improvements to syntax highlighting. (#917)
ecfd5cff3 Update CHANGELOG.md
1a9cc7867 Merge pull request #915 from fatih/indentations-fixes
5a4abb592 style: use two spaces for all files
a7a37517a Update CHANGELOG.md
1e9590dba Merge pull request #910 from fatih/def-modified-file
336e3b090 def: support modified files
b12fd9bb5 Update CHANGELOG.md
9875a4690 Merge pull request #909 from fatih/fix-go-test-compile
1457e6e2c cmd: fix :GoTestCompile leaving behind artifacts
523d5a435 Update CHANGELOG.md
7b92adf89 Merge pull request #904 from fatih/fix-goimports-picking-srcdir
67489a688 fmt: fix goimports picking up -srcdir
6efcfb275 Update CHANGELOG.md
4f20c2524 Merge pull request #900 from fatih/fix-coverage-nvim
f846d078e coverage: fix running coverage for neovim
76d295c19 Update CHANGELOG.md
478a23942 Merge pull request #897 from ryunix/fix-doc
1147bbc70 Update CHANGELOG.md
a3452fdf2 Merge pull request #895 from mattn/fix-openbrowser
492e54bb2 Update CHANGELOG.md
8d73ed0bc Merge pull request #894 from mattn/godoc
85579cbd5 Fix doc
98fe1f95e escape #
cf4f0ea1e open GodocView if argument is provided for :GoDoc
6a0c880df New Release: v1.7.1
0fd6f46e7 doc: fix wrong documentation about field and struct highlighting
8c9cbabfd Merge pull request #892 from ryunix/fix-typo
ab62d6ddd Fix typo
191ba9a60 New release: v1.7
28e63a50b Update CHANGELOG.md
9b198271a Merge pull request #888 from fatih/go-def
10187323d def: add go_def_mode setting, we now support godef too
3c099cc66 cmd: check test files only for coverage
473c0bdfb Update CHANGELOG.md
a284b6196 Merge pull request #854 from hhsnopek/hs.goField
ae89f68f1 add goField
2f115dcf7 Update CHANGELOG.md
e46c5efcd Merge pull request #883 from macb/get_update
04a0faae2 make go get -u configurable
211289683 Update CHANGELOG.md
28d6c0048 Increase compatibility with tcsh (#869)
684be5dfb Merge pull request #882 from yukidarake/fix-neosnippet-invalid-syntax
485d8ba3c Fix broken snippets
c72fd199f Update CHANGELOG.md
99e06a043 cmd: fix showing SUCCESS for non tests
b7147085c Revert wrong fix
8e0ea1266 cmd: run tests only if the test file exists
e6a76161c cmd: fix runtime error for :GoCoverage
acb2d8c91 docs: add docs for go-import and go-imports
bc3726303 Update CHANGELOG.md
572617f16 Merge pull request #879 from fatih/do-not-create-test-binary
be326e6a8 cmd: do not create test binary artifact for :GoTestCompile
a9611d7d6 Properly use exepath for CheckBinPath (#864)
b25dbfb23 Update CHANGELOG.md
b74234bbd Merge pull request #878 from edganiukov/goimports-mapping
484ead33c added goimports mapping
e9f44d933 fmt: use helper function to print warning
53c779f82 Update CHANGELOG.md
0a1f71faa Merge branch 'master' of https://github.com/fatih/vim-go
46da9d331 coverage: use color aliases for backwards compability
42c73c2a8 Update CHANGELOG.md
92632a024 def: quote the file argument completely for tcsh
8b1c0e93f Update CHANGELOG.md
dc1496713 Merge pull request #862 from fatih/fix-lint-escape
eb19cc520 textobj: escape files for motion as well
c1e976135 Merge pull request #866 from trayo/master
76d43aca5 fixes typo
d54819ddc Update CHANGELOG.md
5d5a5b228 Merge pull request #861 from DeepAnchor/master
d909e2e41 lint: escape directory for shell invocation
d570e89b4 Add non-standard workspaces to package path list
48cc65dfb Update CHANGELOG.md
8765cee38 Update CHANGELOG.md
a3c0dab15 Merge pull request #856 from fatih/add-gocode-autobuild
b0e00f631 complete: enable autobuild and propose-builtins
5c74881e0 Update CHANGELOG.md
fea6ef317 Merge pull request #855 from fatih/fix-gorename
4311f5b18 rename: reload all files to reflect the new changes
1ec3373f2 Update CHANGELOG.md
96b0aa584 Merge pull request #847 from shawnps/patch-1
eb6ae9d1c use https in playground URL for GoPlay
1f2245335 impl: this is a better copy
5e589bba6 Update CHANGELOG.md
87a3bb954 impl: add vim-go-impl (#846)
1dfaae447 Added http to http handler snippet (#843)
78c56adc1 Update CHANGELOG.md
927e31ad2 add nnoremap <buffer> <silent> <C-w><C-]> :<C-u>call go#def#Jump(spli… (#838)
2d9124f1a Updated `benchmark` snippet to use for loop (#840)
9f0cf00f6 path: do not exepath
ca46f2d0a Update CHANGELOG.md
95f43b8ab Update CHANGELOG.md
62f8aa38e don't default to binaries in the PATH (#823)
d2f22ba3d Update CHANGELOG.md
ff70ed5b6 Snippets for Example and Benchmark (#836)
5a846f358 Document using quickfix list for syntastic (#834)
91ffc4108 Update CHANGELOG.md
7a5dc84aa Merge branch 'master' of https://github.com/fatih/vim-go
bbe4357a6 mappings: fix freevars mapping
849a8bb0b guru: fix preventing printing the output twice
91ff811b6 Update CHANGELOG.md
36e96cd52 Update CHANGELOG.md
56ac0d7dc guru: fix providing meaningful error messages instead of showing "-1"
e3ebd69d2 Update CHANGELOG.md
93831e8b3 guru: implements needs scope to function well
1ebda8368 Update CHANGELOG.md
2541180a5 Merge pull request #813 from fatih/fix-gohtmltmpl
4679725cf Update CHANGELOG.md
1469db423 Merge pull request #827 from fatih/fix-coverage-syntax
766e836bc coverage: fix for cases of syntax=off
dcbe7cef6 Update CHANGELOG.md
42a782f38 Merge pull request #821 from sillyousu/master
6e2df56e7 Merge pull request #826 from mattn/fixes-824
7a8384acc exit code should be checked with 0
12e8bed78 pass -tags flag to guru
dfb0ee1ec Update CHANGELOG.md
f830d0dc1 use go#util#system(), go#util#shell_errors() instead of system(), v:shell_error (#801)
e9df17fc7 Update CHANGELOG.md
08a9c7c70 Merge pull request #816 from andrewstuart/master
ede2ec511 Add http handler snippets
480b7660f New release: v1.6
8a78ded14 def: reuse is a better word
d439e855a ftplugin: add gohtmltmpl.vim
a605c6216 Merge pull request #812 from fatih/coverage-improvements
7351848a2 coverage: add :GoCoverageClear and :GoCoverageToggle
4f67ae2dc Merge pull request #802 from sethvargo/patch-1
4c7967c08 Clarify that mappings are enabled by default
b3fddb60f Merge branch 'master' of https://github.com/fatih/vim-go
abd3d1490 doc: fix wording for (go-run) mapping
fd10ba68f Handle windows paths (#799)
5c45ba9c4 coverage: check if matchaddpos exists
a0f8bd34d def: fix selecting from tag stack
c3fdca0e4 def: fix displaying guru errors
cd473451e Update CHANGELOG
24aeacc43 def: jump to an existing buffer if its exist
58d73af73 Merge branch 'master' of https://github.com/fatih/vim-go
53e924411 def.vim: revert back mapping to ctrl-t
c0f7d3ee8 Update CHANGELOG.md
16cc4d62c mappings: change CTRL-t to CTRL-T for compatibility
cce10c75d guru: fix output format
ab55541df def: use script local variable
3a596f5bf Update README.md
2e5996015 Merge pull request #781 from fatih/guru
3eac959bf Add support for new guru tool
b97962689 Merge pull request #794 from cuzelac/master
985c0922a Update CHANGELOG.md
075cfb3a7 Update CHANGELOG.md
fbc9b4e6c Update CHANGELOG.md
6d88d521b improve :GoDef and tag stack commands
449dc59a4 GoTestFunc: support testable examples
80f6cf8fa Add custom godef jump stack (fixes #667) (#776)
385a92f01 Update Changelog
7f248b206 Merge pull request #782 from fatih/godoc-improvement
160bedc2b syntax: remove not used godoc.vim
f478b530c doc: use gogetdoc to display docs in a better way
9f2fac6cb Merge pull request #790 from fatih/coverage-term-fix
52dbc47b7 coverage: fix not working if go_term_enabled is set
5ce65295c coverage: open only if file exists
a4f44db42 Merge pull request #746 from eliasgs/master
451cb1acc Update README.md
f6c71e7c7 Update docs
fe718fc9c Merge branch 'master' of https://github.com/fatih/vim-go
dc98bc775 Update Readme.md
aea106131 Merge pull request #787 from cespare/optional-format-highlight
cc4584404 Remove whitespaces
952b75259 Add go_highlight_format_strings option for printf-style format strings
1ac0d1f8e Update Changelog
e35dfca6c Remove artifact
407908ad6 Merge pull request #786 from fatih/t-yuki-vim-go-coverlay
0eff02604 coverage: improvements and integration into vim-go
f92fac2fd Add vim-go-coverlay
e93048420 fmt: use shellescape instead of fnameescape
5c282de1a Update CHANGELOG.md
1a82fb7d5 Add fix
c4183771f term: close location list if cmd's result is successful
ef9bc716a term: close location list if cmd's result is successful
230b1bb69 Update CHANGELOG.md
0ff0a2dde Add CHANGELOG.md
19cfa6fbb jobcontrol: add AddHandler and RemoveHandler API to catch on_exit callback for callers of caller
git-subtree-dir: vim/bundle/go
git-subtree-split: bf390af42c53ae217356d7763ac3e7767f0162a4
7 years ago
## 1.16 - (December 29, 2017)
FEATURES:
* Add `g:go_doc_url` to change the `godoc` server from `godoc.org` to a custom
private instance. Currently only `godoc -http` instances are supported.
[[GH-1957]](https://github.com/fatih/vim-go/pull/1957).
* New setting `g:go_test_prepend_name` (off by default) to add the failing test
name to the output of `:GoTest`
[[GH-1578]](https://github.com/fatih/vim-go/pull/1578).
* Support [denite.vim ](https://github.com/Shougo/denite.nvim ) for `:GoDecls[Dir]`
[[GH-1604]](https://github.com/fatih/vim-go/pull/1604).
IMPROVEMENTS:
* `:GoRename` is a bit smarter when automatically pre-filling values, and what
gets pre-filled can be configured with `g:go_gorename_prefill` option.
In addition `:GoRename <Tab>` now lists some common options.
[[GH-1465]](https://github.com/fatih/vim-go/pull/1465).
* Add support for `g:go_build_tags` to the `:GoTest` family of functions.
[[GH-1562]](https://github.com/fatih/vim-go/pull/1562).
* Pass `--tests` to gometalinter when autosaving and when a custom gometalinter
command has not been set.
[[GH-1563]](https://github.com/fatih/vim-go/pull/1563).
* Do not spam messages when command is run in a directory that does not exist.
[[GH-1527]](https://github.com/fatih/vim-go/pull/1527).
* Run `syntax sync fromstart` after `:GoFmt` ; this should make syntax
highlighting break slightly less often after formatting code
[[GH-1582]](https://github.com/fatih/vim-go/pull/1582).
* `:GoDescribe` doesn't require a scope anymore
[[GH-1596]](https://github.com/fatih/vim-go/pull/1596).
* Add some standard snippets for
[vim-minisnip ](https://github.com/joereynolds/vim-minisnip )
[[GH-1589]](https://github.com/fatih/vim-go/pull/1589).
* `g:go_snippet_engine` now defaults to `automatic` to use the first installed
snippet engine it can find.
[[GH-1589]](https://github.com/fatih/vim-go/pull/1589).
* Make sure temporary files created for `:GoFmt` end with `.go` suffix as this
is required by some Go formatting tools
[[GH-1601]](https://github.com/fatih/vim-go/pull/1601).
BUG FIXES:
* Fix compatibility with Vim version before 7.4.1546
[[GH-1498]](https://github.com/fatih/vim-go/pull/1498).
* Don't resize godoc window if it's already visible
[[GH-1488]](https://github.com/fatih/vim-go/pull/1488).
* `:GoTestCompile` produces a test binary again. The test binary will be
written to a temporary directory to avoid polluting the user's working
directory. [[GH-1519]](https://github.com/fatih/vim-go/pull/1519)
* Fix incorrect `:GoSameIdsToggle` behavior when there were match groups
present, but none were goSameId.
[[GH-1538]](https://github.com/fatih/vim-go/pull/1538)
* Fix `gpl` snippet for UltiSnips.
[[GH-1535]](https://github.com/fatih/vim-go/pull/1535)
* Fix test output processing to correctly handle panics and log statements.
[[GH-1513]](https://github.com/fatih/vim-go/pull/1513)
* `:GoImpl` tab-completion would sometimes stop working
[[GH-1581]](https://github.com/fatih/vim-go/pull/1581).
* Add `g:go_highlight_function_arguments` to highlight function arguments.
[[GH-1587]](https://github.com/fatih/vim-go/pull/1587).
* Fix installation of `gocode` on MS-Windows.
[[GH-1606]](https://github.com/fatih/vim-go/pull/1606).
* Fix template creation for files in directories that don't exist yet.
[[GH-1618]](https://github.com/fatih/vim-go/pull/1618).
* Fix behavior of terminal windows and resize terminal windows correctly for
all valid `g:go_term_mode` values.
[[GH-1611]](https://github.com/fatih/vim-go/pull/1611).
BACKWARDS INCOMPATIBILITIES:
* Display a warning for Vim versions older than 7.4.1689. Older versions may
still work, but are not supported. You can use `let g:go_version_warning = 0`
to disable the warning.
[[GH-1524]](https://github.com/fatih/vim-go/pull/1524).
* `g:go_autodetect_gopath` is *disabled* by default, as support for `vendor` has
been in Go for a while.< br >
Also change the implementation for `g:go_autodetect_gopath` ; instead of manually
setting it before every command it will now be set with the `BufEnter` event,
and reset with the `BufLeave` event. This means that `$GOPATH` will be
changed for all commands run from Vim.
[[GH-1461]](https://github.com/fatih/vim-go/pull/1461) and
[[GH-1525]](https://github.com/fatih/vim-go/pull/1525).
* Update `:GoFillStruct` to check the current line (vs. the exact cursor
position) for a struct literal to fill. To support this, fillstruct made
[backwards imcompatible
changes](https://github.com/davidrjenni/reftools/pull/8).
[[GH-1607]](https://github.com/fatih/vim-go/pull/1607).
## 1.15 - (October 3, 2017)
FEATURES:
* Add `:GoFillStruct` to fill a struct with all fields; uses
[`fillstruct` ](https://github.com/davidrjenni/reftools/tree/master/cmd/fillstruct )
[[GH-1443]](https://github.com/fatih/vim-go/pull/1443).
IMPROVEMENTS:
* `:GoAddTags` and `:GoRemoveTags` now continue to process if there are
malformed individual struct tags (run `:GoUpdateBinaries` to update
`gomodifiytags` binary) [[GH-1401]](https://github.com/fatih/vim-go/pull/1401)
* `:GoAddTags` and `:GoRemoveTags` now shows a location list if there are
malformed struct tags (run `:GoUpdateBinaries` to update `gomodifiytags`
binary) [[GH-1401]](https://github.com/fatih/vim-go/pull/1401)
* Add folding of the package-level comment (enabled by default) and/or any
other comments (disabled by default) [[GH-1377]](https://github.com/fatih/vim-go/pull/1377).
[[GH-1428]](https://github.com/fatih/vim-go/pull/1428).
* Allow using :GoImpl on the type and struct parts too. Makes it a wee bit
easier to use [[GH-1386]](https://github.com/fatih/vim-go/pull/1386)
* `:GoDef` sets the path of new buffers as relative to the current directory
when appropriate, instead of always using the full path [[GH-1277]](https://github.com/fatih/vim-go/pull/1277).
* Syntax highlighting for variable declarations and assignments (disabled by default)
[[GH-1426]](https://github.com/fatih/vim-go/pull/1426) and
[[GH-1458]](https://github.com/fatih/vim-go/pull/1458).
* Add support for `:GoDecls[Dir]` in [unite.vim ](https://github.com/Shougo/unite.vim )
[[GH-1391]](https://github.com/fatih/vim-go/pull/1391).
* Add support for [fzf.vim ](https://github.com/junegunn/fzf.vim ) in
`GoDecls[Dir]` .
[[GH-1437]](https://github.com/fatih/vim-go/pull/1437).
* Support relative imports for `:GoImpl` [[GH-1322]](https://github.com/fatih/vim-go/pull/1322).
* A new `g:go_list_type_commands` setting is added to individually set the list type for each command [[GH-1415]](https://github.com/fatih/vim-go/pull/1415). As en example:
let g:go_list_type_commands = {"GoBuild": "quickfix", "GoTest": "locationlist"}
* Show unexpected errors better by expanding newlines and tabs
[[GH-1456]](https://github.com/fatih/vim-go/pull/1456).
* `:GoInstallBinaries` and `:GoUpdateBinaries` can now install/update only the
selected binaries (e.g. `:GoUpdateBinaries guru golint` )
[[GH-1467]](https://github.com/fatih/vim-go/pull/1467).
BUG FIXES:
* `:GoFmt` now (again) uses `locationlist` to show formatting errors instead of
`quickfix` . To change back to `locationlist` you can change it with the
setting `let g:go_list_type_commands = { "GoFmt": locationlist" }` [[GH-1415]](https://github.com/fatih/vim-go/pull/1415)
* Include comments in import block when folding is enabled [[GH-1387]](https://github.com/fatih/vim-go/pull/1387)
* Fix opening definitions in tabs [[GH-1400]](https://github.com/fatih/vim-go/pull/1400)
* Fix accidentally closing quickfix window from other commands if :GoFmt or autosave format was called [[GH-1407]](https://github.com/fatih/vim-go/pull/1407)
* Fix entering into insert mode after for term mode in nvim [[GH-1411]](https://github.com/fatih/vim-go/pull/1411)
* When using :GoImpl on type foo struct{} it would work, but with:
type foo struct{
}
or with a struct with fields, it would create the generated methods inside the
struct [[GH-1386]](https://github.com/fatih/vim-go/pull/1386)
* `:GoImpl` output would include extra newline, and error would include
trailing newline from shell command: `vim-go: invalid receiver: "} *}"<00>` .
Fixed with [[GH-1386]](https://github.com/fatih/vim-go/pull/1386)
* Run `:GoMetaLinter` against the package of the open file [[GH-1414]](https://github.com/fatih/vim-go/pull/1414).
* The `g:go_doc_command` and `g:go_doc_options` to configure the command for
`:GoDoc` were documented but never referenced [[GH-1420]](https://github.com/fatih/vim-go/pull/1420).
* `go#package#FromPath()` didn't work correctly [[GH-1435]](https://github.com/fatih/vim-go/pull/1435).
* Fix race condition for `guru` based commands [[GH-1439]](https://github.com/fatih/vim-go/pull/1439).
* The `gohtmltmpl` filetype now sources the `html` ftplugin, so that `matchit` ,
completion, and some other things work better.
[[GH-1442]](https://github.com/fatih/vim-go/pull/1442)
* Fix `:GoBuild` shell escaping [[GH-1450]](https://github.com/fatih/vim-go/pull/1450).
* Ensure fmt list gets closed when title cannot be checked [[GH-1474]](https://github.com/fatih/vim-go/pull/1474).
BACKWARDS INCOMPATIBILITIES:
* `:GoMetaLinter` now runs against the package of the open file instead of the
current working directory. This is so all commands behave the same relative
to the current open buffer. [[GH-1414]](https://github.com/fatih/vim-go/pull/1414)
* `:GoImpl` now requires [`impl` ](https://github.com/josharian/impl ) version
3fb19c2c or newer (released June 13, 2017); use `:GoUpdateBinaries` to make
sure that you've got a recent version [[GH-1322]](https://github.com/fatih/vim-go/pull/1322)
## 1.14 - (August 6, 2017)
FEATURES:
* We now have folding support based on Go syntax. To enable it you have to set
the following Vim setting: `set foldmethod=syntax` . Currently it folds blocks
(`{ }`), `import` , `var` , and `const` blocks, and package-level comments.
These can be individually disabled/enabled if desired. For more info please
read the documentation for the `g:go_fold_enable` setting. [[GH-1339]](https://github.com/fatih/vim-go/pull/1339)
[[GH-1377]](https://github.com/fatih/vim-go/pull/1377)
* `:GoFiles` accepts now an argument to change the type of files it can show.
By default it shows`.go source files` but now it can be changed to show
various kind of files. The full list can be seen via `go list --help` under
the `// Source Files` section [[GH-1372]](https://github.com/fatih/vim-go/pull/1372) i.e:
```
:GoFiles CgoFiles // shows .go sources files that import "C"
:GoFiles TestGoFiles // shows _test.go files in package
:GoFiles IgnoredGoFiles // shows .go sources ignored due to build constraints
etc..
```
IMPROVEMENTS
* Files created with `_test.go` extension have a new template with a ready to
go test function. The template can be changed with the
`g:go_template_test_file` setting. [[GH-1318]](https://github.com/fatih/vim-go/pull/1318)
* Improve performance for highly used operations by caching `go env` calls [[GH-1320]](https://github.com/fatih/vim-go/pull/1320)
* `:GoCoverage` can accept arguments now. i.e: `:GoCoverage -run TestFoo` [[GH-1326]](https://github.com/fatih/vim-go/pull/1326)
* `:GoDecls` and `:GoDeclsDir` shows a warning if [ctrlp.vim ](https://github.com/ctrlpvim/ctrlp.vim ) is not installed
* `:GoBuild` now compiles the package with the `-i` flag added. This means that subsequent calls are much more faster due caching of packages [[GH-1330]](https://github.com/fatih/vim-go/pull/1330)
* `:GoCoverage` echos now the progress if `g:go_echo_command_info` is enabled [[GH-1333]](https://github.com/fatih/vim-go/pull/1333)
* Add `g:go_doc_max_height` setting to control the maximum height of the window created by `:GoDoc` and `K` mapping [[GH-1335]](https://github.com/fatih/vim-go/pull/1335)
* The `af` text object is able to include the assignment variable for anonymous functions. Can be disabled with `g:go_textobj_include_variable = 0` [[GH-1345]](https://github.com/fatih/vim-go/pull/1345)
* Add `g:go_list_autoclose` setting to prevent closing the quickfix/location list after zero items [[GH-1361]](https://github.com/fatih/vim-go/pull/1361)
* Cursor is now adjusted and locked to the correct line when `goimports` is used for autosave [[GH-1367]](https://github.com/fatih/vim-go/pull/1367)
* Complement the path of command for different situations of Cygwin environment [[GH-1394]](https://github.com/fatih/vim-go/pull/1394)
* Show message when using :GoDef and opening a new buffer [[GH-1385]](https://github.com/fatih/vim-go/pull/1385)
BUG FIXES:
* Fix obtaining package's import path for the current directory. This fixes some issues we had if the user was using multiple GOPATH's [[GH-1321]](https://github.com/fatih/vim-go/pull/1321)
* Fix documentation for vim-go & syntastic integration for errcheck using [[GH-1323]](https://github.com/fatih/vim-go/pull/1323)
* Fix showing an output if a test has finished when `:GoTest` is called [[GH-1327]](https://github.com/fatih/vim-go/pull/1327)
* Fix warning when goimports doesn't support srcdir [[GH-1344]](https://github.com/fatih/vim-go/pull/1344)
* Fix broken code folding with go_highlight_types [[GH-1338]](https://github.com/fatih/vim-go/pull/1338)
* Fix blocking the ui when swapfile is enabled and `:GoFmt` is called (either manually or via autosave) [[GH-1362]](https://github.com/fatih/vim-go/pull/1362)
* Fix getting bin paths for binaries if GOPATH was not set and Go version =>1.7 was used [[GH-1363]](https://github.com/fatih/vim-go/pull/1363)
* Fix picking up the correct list type for showing `:GoFmt` errors [[GH-1365]](https://github.com/fatih/vim-go/pull/1365)
* Fix auto detecting of GOPATH for import paths with string 'src' (i.e: `GOPATH/src/github.com/foo/src/bar` ) [[GH-1366]](https://github.com/fatih/vim-go/pull/1366)
* Fix showing an empty window if `gogetdoc` was not found [[GH-1379]](https://github.com/fatih/vim-go/pull/1379)
* Fix commands not being executed if paths would include spaces (binary name, GOPATH, file itself, etc..) [[GH-1374]](https://github.com/fatih/vim-go/pull/1374)
* Fix showing correct message when editing a new file [[GH-1371]](https://github.com/fatih/vim-go/pull/1371)
* Fix filepaths in the quickfix list for :GoVet [[GH-1381]](https://github.com/fatih/vim-go/pull/1381)
* Run :GoLint against the package of the open file [[GH-1382]](https://github.com/fatih/vim-go/pull/1382)
BACKWARDS INCOMPATIBILITIES:
* `:GoFmt` now uses `quickfix` to show formatting errors instead of
`locationlist` . To change back to `locationlist` you can change it with the
setting `let g:go_list_type = "locationlist"` [[GH-1365]](https://github.com/fatih/vim-go/pull/1365)
* `:GoLint` now runs against the package of the open file instead of the
current working directory. This is so all commands behave the same relative
to the current open buffer. For more info check the [comment
here](https://github.com/fatih/vim-go/issues/1375#issuecomment-317535953)
[[GH-1382]](https://github.com/fatih/vim-go/pull/1382)
## 1.13 - (June 6, 2017)
FEATURES:
* New `:GoKeyify` command that turns unkeyed struct literals into keyed struct literals. [[GH-1258]](https://github.com/fatih/vim-go/pull/1258). i.e:
```
Example{"foo", "bar", "qux"}
```
will be converted to:
```
Example{
foo: "foo",
bar: "bar",
qux: "qux",
}
```
Checkout the demo here: https://twitter.com/fatih/status/860410299714764802
* New `g:go_addtags_transform` setting to change the transform rule (snakecase, camelcase, etc..) for `:GoAddTags` command [[GH-1275]](https://github.com/fatih/vim-go/pull/1275)
* New snippet shortcut assigned to `ife` that expands to `if err := foo(); err != nil { ... }` [[GH-1268]](https://github.com/fatih/vim-go/pull/1268)
IMPROVEMENTS
* :GoMetaLinter can now exclude linters with the new `g:go_metalinter_excludes` option [[GH-1253]](https://github.com/fatih/vim-go/pull/1253)
* Override `<C-LeftMouse>` mapping so `:GoDef` is used by default (as we do the same for `CTRL-]` , `gd` , etc. [[GH-1264]](https://github.com/fatih/vim-go/pull/1264)
* add support for `go_list_type` setting in `:GoFmt` and `:GoImports` commands [[GH-1304]](https://github.com/fatih/vim-go/pull/1304)
* add support for `go_list_type` setting in `:GoMetaLinter` commands [[GH-1309]](https://github.com/fatih/vim-go/pull/1309)
* `go_fmt_options` can be now a dictionary to allow us to specifcy the
options for multiple binaries [[GH-1308]](https://github.com/fatih/vim-go/pull/1308). i.e:
```
let g:go_fmt_options = {
\ 'gofmt': '-s',
\ 'goimports': '-local mycompany.com',
\ }
```
* If win-vim(x64) with Cygwin is used, `cygpath` is used for constructing the paths [[GH-1092]](https://github.com/fatih/vim-go/pull/1092)
BUG FIXES:
* job: fix race between channel close and job exit [[GH-1247]](https://github.com/fatih/vim-go/pull/1247)
* internal: fix system calls when using tcsh [[GH-1276]](https://github.com/fatih/vim-go/pull/1276)
* path: return the unmodified GOPATH if autodetect is disabled [[GH-1280]](https://github.com/fatih/vim-go/pull/1280)
* fix jumping to quickfix window when autom gometalinter on save was enabled [[GH-1293]](https://github.com/fatih/vim-go/pull/1293)
* fix highlighting for `interface` and `structs` words when `go_highlight_types` is enabled [[GH-1301]](https://github.com/fatih/vim-go/pull/1301)
* fix cwd for running `:GoRun` when used with neovim [[GH-1296]](https://github.com/fatih/vim-go/pull/1296)
* `:GoFmt` handles files that are symlinked into GOPATH better (note that this behaviour is discouraged, but we're trying our best to handle all edge case :)) [[GH-1310]](https://github.com/fatih/vim-go/pull/1310)
* `:GoTest` is able to parse error messages that include a colon `:` [[GH-1316]](https://github.com/fatih/vim-go/pull/1316)
* `:GoTestCompile` under the hood doesn't produces a test binary anymore. Sometimes a race condition would happen which would not delete the test binary. [[GH-1317]](https://github.com/fatih/vim-go/pull/1317)
* `:GoDef` jumps now to definition for build tags defined with `:GoBuildTags` (only guru) [[GH-1319]](https://github.com/fatih/vim-go/pull/1319)
BACKWARDS INCOMPATIBILITIES:
* `:GoLint` works on the whole directory instead of the current file. To use it for the current file give it as an argument, i.e `:GoLint foo.go` [[GH-1295]](https://github.com/fatih/vim-go/pull/1295)
* `go_snippet_case_type` is removed in favor of the new `go_addtags_transform` setting [[GH-1299]](https://github.com/fatih/vim-go/pull/1299)
* `go_imports_bin` is removed to avoid confusion as it would lead to race
conditions when set to `gofmt` along with the usage of `go_fmt_command`
[[GH-1212]](https://github.com/fatih/vim-go/pull/1212) [[GH-1308]](https://github.com/fatih/vim-go/pull/1308)
* commands such as `:GoTest` has been refactored for easy maintainability. If
you use any custom script that was using the function `go#cmd#Test` , it
should be renamed to `go#test#Test`
## 1.12 - (March 29, 2017)
FEATURES:
* New `:GoAddTags` and `:GoRemoveTags` command based on the tool
[gomodifytags ](https://github.com/fatih/gomodifytags ). This fixes many old
bugs that were due prior regexp based implementation. For the usage please
read the docs and checkout the demo at:
https://github.com/fatih/vim-go/pull/1204 [[GH-1204]](https://github.com/fatih/vim-go/pull/1204)
* Add new `errl` snippet that expands to [[GH-1185]](https://github.com/fatih/vim-go/pull/1185):
```
if err != nil {
log.Fatal(err)
}
```
* New `:GoBuildTags` command to change build tags for tools such as `guru` ,
`gorename` , etc ... There is also a new setting called `g:go_build_tags`
[[GH-1232]](https://github.com/fatih/vim-go/pull/1232)
IMPROVEMENTS:
* vim-go works now even if GOPATH is not set (starting with Go 1.8) [[GH-1248]](https://github.com/fatih/vim-go/pull/1248)
* Lowercase `<Leader>` in mappings examples for consistent documentation across the README [[GH-1192]](https://github.com/fatih/vim-go/pull/1192)
* All of files should be written in utf-8 if the file will be passed to external command. [[GH-1184]](https://github.com/fatih/vim-go/pull/1184)
* `:GoAddTags` is now able to add options to existing tags with the syntax
`:GoAddTags key,option` , i.e: `:GoAddTags json,omitempty` [[GH-985]](https://github.com/fatih/vim-go/pull/985)
* Document 'noshowmode' requirement for echo_go_info [[GH-1197]](https://github.com/fatih/vim-go/pull/1197)
* Improve godoc view for vertical splits [[GH-1195]](https://github.com/fatih/vim-go/pull/1195)
* Set GOPATH for both possible go guru execution paths (sync and async) [[GH-1193]](https://github.com/fatih/vim-go/pull/1193)
* Improve docs for :GoDef usage [[GH-1242]](https://github.com/fatih/vim-go/pull/1242)
* Highlight trimming syntax for Go templates [[GH-1235]](https://github.com/fatih/vim-go/pull/1235)
BUG FIXES:
* Honor `g:go_echo_command_info` when dispatching builds in neovim [[GH-1176]](https://github.com/fatih/vim-go/pull/1176)
* Fix `:GoBuild` error in neovim due to invalid jobcontrol handler function
signatures (`s:on_stdout`, `s:on_stderr` )[[GH-1176]](https://github.com/fatih/vim-go/pull/1176)
* Update statusline before and after `go#jobcontrol#Spawn` command is executed [[GH-1176]](https://github.com/fatih/vim-go/pull/1176)
* Correctly report the value of the 'g:go_guru_tags' variable [[GH-1177]](https://github.com/fatih/vim-go/pull/1177)
* Ensure no trailing `:` exist in GOPATH detection if initial GOPATH is not set [[GH-1194]](https://github.com/fatih/vim-go/pull/1194)
* Fix `:GoAddTags` to allow modifying existing comments [[GH-984]](https://github.com/fatih/vim-go/pull/984)
* Fix `:GoAddTags` to work with nested structs [[GH-990]](https://github.com/fatih/vim-go/pull/990)
* Fix `:GoAddTags` adding tags twice for existing tags [[GH-1064]](https://github.com/fatih/vim-go/pull/1064)
* Fix `:GoAddTags` not working for fields of types `interface{}` [[GH-1091]](https://github.com/fatih/vim-go/pull/1091)
* Fix `:GoAddTags` not working for fields with one line comments [[GH-1181]](https://github.com/fatih/vim-go/pull/1181)
* Fix `:GoAddTags` not working if any field comment would contain `{}` [[GH-1189]](https://github.com/fatih/vim-go/pull/1189)
* Respect go_fmt_options when running goimports [[GH-1211]](https://github.com/fatih/vim-go/pull/1211)
* Set the filename in the location-list when there is an error with :GoFmt [[GH-1199]](https://github.com/fatih/vim-go/pull/1199)
* Fix `:GoInstall` to accept additional arguments if async mode was enabled [[GH-1246]](https://github.com/fatih/vim-go/pull/1246)
BACKWARDS INCOMPATIBILITIES:
* The command `:GoGuruTags` is removed in favour of the new command
`:GoBuildTags` . This command will be used now not just for `guru` , also for
all new commands such as `gorename` [[GH-1232]](https://github.com/fatih/vim-go/pull/1232)
* The setting `g:go_guru_tags` is removed in favour of the new setting
`g:go_build_tags` [[GH-1232]](https://github.com/fatih/vim-go/pull/1232)
## 1.11 - (January 9, 2017)
FEATURES:
* Travis test integration has been added. Now any file that is added as
`<name>_test.vim` will be automatically tested in for every Pull Request
(just like how we add tests to Go with `_test.go` ). Going forward this will
tremendously increase the stability and decrease the maintenance burden of
vim-go. [[GH-1157]](https://github.com/fatih/vim-go/pull/1157)
* Add new `g:go_updatetime` setting to change the default updatetime (which was hardcoded previously) [[GH-1055]](https://github.com/fatih/vim-go/pull/1055)
* Add new `g:go_template_use_pkg` setting to enable to use cwd as package name instead of basic template file [[GH-1124]](https://github.com/fatih/vim-go/pull/1124)
IMPROVEMENTS:
* Add `statusline` support for `:GoMetaLinter` [[GH-1120]](https://github.com/fatih/vim-go/pull/1120)
* Quickfix and Location lists contain now a descriptive title (requires at least Vim `7.4.2200` )[[GH-1004]](https://github.com/fatih/vim-go/pull/1004)
* Check `go env GOPATH` as well for `:GoInstallBinaries` as Go has now a default path for GOPATH ("~/go")starting with 1.8 [[GH-1152]](https://github.com/fatih/vim-go/pull/1152)
* `:GoDocBrowser` now also works on import paths [[GH-1174]](https://github.com/fatih/vim-go/pull/1174)
BUG FIXES:
* Always use full path to detect packages to be shown in statusline [[GH-1121]](https://github.com/fatih/vim-go/pull/1121)
* Use `echom` to persist errors in case of multiple echos [[GH-1122]](https://github.com/fatih/vim-go/pull/1122)
* Fix a race condition where a quickfix window was not closed if a job has succeeded [[GH-1123]](https://github.com/fatih/vim-go/pull/1123)
* Do not expand coverage arguments for non job execution of `:GoCoverage` [[GH-1127]](https://github.com/fatih/vim-go/pull/1127)
* `:GoCoverage` doesn't mess up custom syntax anymore [[GH-1128]](https://github.com/fatih/vim-go/pull/1128)
* Disable autoformat for `asm` files as they might be non Go ASM format [[GH-1141]](https://github.com/fatih/vim-go/pull/1141)
* Fix indentation broken when using a action with a minus sign like `{{-` [[GH-1143]](https://github.com/fatih/vim-go/pull/1143)
* Fix breaking Neovim change of passing less arguments to callbacks [[GH-1145]](https://github.com/fatih/vim-go/pull/1145)
* Fix `guru` commands if custom build tags were set [[GH-1136]](https://github.com/fatih/vim-go/pull/1136)
* Fix referencing a non defined variable for async commands when bang (!) was used
* Fix `:GoDef` failing for a modified buffer if `hidden` was not set [[GH-1132]](https://github.com/fatih/vim-go/pull/1132)
* Fix `:GoDefStack` to allow popping from jump list when buffer is modified [[GH-1133]](https://github.com/fatih/vim-go/pull/1133)
* Improve internal defining of functions and referencing them for async operations [[GH-1155]](https://github.com/fatih/vim-go/pull/1155)
* Fix `:GoMetaLinter` failing if `go_metalinter_command` is set. [[GH-1160]](https://github.com/fatih/vim-go/pull/1160)
* Fix `:GoMetaLinter` 's `go_metalinter_deadline` setting for async mode [[GH-1146]](https://github.com/fatih/vim-go/pull/1146)
BACKWARDS INCOMPATIBILITIES:
* The following syntax options are now disabled by default. If you're using them be sure to set them in your .vimrc [[GH-1167]](https://github.com/fatih/vim-go/pull/1167)
```viml
g:go_highlight_array_whitespace_error
g:go_highlight_chan_whitespace_error
g:go_highlight_extra_types
g:go_highlight_space_tab_error
g:go_highlight_trailing_whitespace_error
```
## 1.10 (November 24, 2016)
FEATURES:
* **Vim 8.0 support!** This is the initial version to add Vim 8.0 based support to
all basic commands (check out below for more information). With time we'll
going to extend it to other commands. All the features are only enabled if
you have at least Vim 8.0.0087. Backwards compatible with Vim 7.4.x.
If you see any problems, please open an issue.
* We have now a [logo for vim-go ](https://github.com/fatih/vim-go/blob/master/assets/vim-go.png )! Thanks to @egonelbre for his work on this.
* `:GoBuild` , `:GoTest` , `:GoTestCompile` , `:GoInstall` commands are now fully
async. Async means it doesn't block your UI anymore. If the command finished
it echoes the status. For a better experience use the statusline information
(more info below)
* `:GoCoverage` and `:GoCoverageBrowser` commands are fully async.
* `:GoDef` is fully async if `guru` is used as command.
* `:GoRename` is fully async .
* `:GoMetaLinter` is fully asnyc. Also works with the current autosave linting
feature. As a reminder, to enable auto linting on save either call
`:GoMetaLinterAutoSaveToggle` (temporary) or add `let
g:go_metalinter_autosave = 1` (persistent) to your virmc).
* All `guru` commands run asynchronously if Vim 8.0 is being used. Current
Commands:
* GoImplements
* GoWhicherrs
* GoCallees
* GoDescribe
* GoCallers
* GoCallstack
* GoFreevars
* GoChannelPeers
* GoReferrers
* `:GoSameIds` also runs asynchronously. This makes it useful especially for
auto sameids mode. In this mode it constantly evaluates the identifier under the
cursor whenever it's in hold position and then calls :GoSameIds. As a
reminder, to enable auto info either call `:GoSameIdsAutoToggle` (temporary)
or add `let g:go_auto_sameids = 1` (persistent) to your vimrc.
* `:GoInfo` is now non blocking and works in async mode if `guru` is used in
`g:go_info_mode` . This makes it useful especially for autoinfo mode. In this
mode it constantly evaluates the identifier under the cursor whenever it's in
hold position and then calls :GoInfo. As a reminder, to enable auto info
either call `:GoAutoTypeInfoToggle` (temporary) or add `let
g:go_auto_type_info = 1` (persistent) to your vimrc. To use `guru` instead of
`gocode` add following to your vimrc: `let g:go_info_mode = 'guru'`
The `guru` is more accurate and reliabed due the usage of `guru` describe. It
doesn't rely on `pkg/` folder like `gocode` does. However it's slower than
`gocode` as there is no caching mechanism in `guru` yet.
* **New**: Statusline function: `go#statusline#Show()` which can be plugged into
the statusline bar. Works only with vim 8.0. It shows all asynchronously
called functions status real time. Checkout it in action:
https://twitter.com/fatih/status/800473735467847680. To enable it add the
following to your `vimrc` . If you use lightline, airline, .. check out their
respective documentation on how to add a custom function:
```viml
" go command status (requires vim-go)
set statusline+=%#goStatuslineColor#
set statusline+=%{go#statusline#Show()}
set statusline+=%*
```
IMPROVEMENTS:
* **:GoDocBrowser** is now capable to to understand the identifier under the cursor (just like :GoDoc)
* Function calls are now highlighted as well when `g:go_highlight_functions` is enabled [[GH-1048]](https://github.com/fatih/vim-go/pull/1048)
* Add completion support for un-imported packages. This allows to complete even
if the package is not imported. By default it's disabled, enable by adding
`let g:go_gocode_unimported_packages = 1` [[GH-1084]](https://github.com/fatih/vim-go/pull/1084)
* Tools that embeds GOROOT into their binaries do not work when people update
their Go version and the GOROOT contains the vesion as part of their path
(i.e: `/usr/local/Cellar/go/1.7.2/libexec` , [more
info](https://blog.filippo.io/stale-goroot-and-gorebuild/)) . This is now
fixed by introducing automatic GOROOT set/unset before each tool invoke.
[[GH-954]](https://github.com/fatih/vim-go/pull/954)
* Added new setting `g:go_echo_go_info` to enable/disable printing identifier
information when completion is done [[GH-1101]](https://github.com/fatih/vim-go/pull/1101)
* Added new `go_echo_command_info` setting is added, which is enabled by
default. It's just a switch for disabling messages of commands, such as
`:GoBuild` , `:GoTest` , etc.. Useful to *disable* if `go#statusline#Show()` is
being used in Statusline, to prevent to see duplicates notifications.
* goSameId highlighting is now linked to `Search` , which is much more clear as
it changes according to the users colorscheme
* Add plug mapping `(go-lint)` for :GoLint [[GH-1089]](https://github.com/fatih/vim-go/pull/1089)
BUG FIXES:
* Change back nil and iota highlighting color to the old type [[GH-1049]](https://github.com/fatih/vim-go/pull/1049)
* Fix passing arguments to `:GoBuild` while using NeoVim [[GH-1062]](https://github.com/fatih/vim-go/pull/1062)
* Do not open a split if `:GoDef` is used on a modified file [[GH-1083]](https://github.com/fatih/vim-go/pull/1083)
* Highlight nested structs correctly [[GH-1075]](https://github.com/fatih/vim-go/pull/1075)
* Highlight builtin functions correctly if `g:go_highlight_functions` is enabled [[GH-1070]](https://github.com/fatih/vim-go/pull/1070)
* Fix `:GoSameIds` highlighting if a new buffer is opened in the same window [[GH-1067]](https://github.com/fatih/vim-go/pull/1067)
* Internal: add `abort` to all vim function to return in case of errors [[GH-1100]](https://github.com/fatih/vim-go/pull/1100)
* Fix `:GoCoverage` to be executed if working dir is not inside the test dir [[GH-1033]](https://github.com/fatih/vim-go/pull/1033)
BACKWARDS INCOMPATIBILITIES:
* remove vim-dispatch and vimproc.vim support. vim 8.0 has now the necessary
API to invoke async jobs and timers. Going forward we should use those. Also
this will remove the burden to maintain compatibility with those plugins.
* `go#jobcontrol#Statusline()` is removed in favor of the new, global and
extensible `go#statusline#Show()`
## 1.9 (September 13, 2016)
IMPROVEMENTS:
* **guru** uses now the `-modified` flag, which allows us use guru on modified
buffers as well. This affects all commands where `guru` is used. Such as
`:GoDef` , `:GoReferrers` , etc.. [[GH-944]](https://github.com/fatih/vim-go/pull/944)
* **:GoDoc** uses now the `-modified` flag under the hood (for `gogetdoc), which allows us to get documentation for the identifier under the cursor ina modified buffer. [[GH-1014]](https://github.com/fatih/vim-go/pull/1014)
* Cleanup and improve documentation [[GH-987]](https://github.com/fatih/vim-go/pull/987)
* Add new `g:go_gocode_socket_type` setting to change the underlying socket type passed to `gocode` . Useful to fallback to `tcp` on cases such as Bash on Windows [[GH-1000]](https://github.com/fatih/vim-go/pull/1000)
* `:GoSameIds` is now automatically re-evaluated in cases of buffer reloads (such as `:GoRename` ) [[GH-998]](https://github.com/fatih/vim-go/pull/998)
* Improve docs about `go_auto_sameids` [[GH-1017]](https://github.com/fatih/vim-go/pull/1017)
* Improve error message by printing the full path if an incompatible `goimports` is being used [[GH-1006]](https://github.com/fatih/vim-go/pull/1006)
* `iota` and `nil` are now highlighted correctly and are not treated as booleans [[GH-1030]](https://github.com/fatih/vim-go/pull/1030)
BUG FIXES:
* Fix system calls on Windows [[GH-988]](https://github.com/fatih/vim-go/pull/988)
* Fix :GoSameIds and :GoCoverage for light background and after changing color schemes [[GH-983]](https://github.com/fatih/vim-go/pull/983)
* Fix TagBar and `GoCallers` for Windows user [[GH-999]](https://github.com/fatih/vim-go/pull/999)
* Set updatetime for for `auto_sameids` feature as well [[GH-1016]](https://github.com/fatih/vim-go/pull/1016)
* Update docs about missing `go_highlight_generate_tags` setting [[GH-1023]](https://github.com/fatih/vim-go/pull/1023)
* Fix updating the jumplist if `:GoDef` is used [[GH-1029]](https://github.com/fatih/vim-go/pull/1029)
* Fix highlighting literal percent sign (`%%`) in strings [[GH-1011]](https://github.com/fatih/vim-go/pull/1011)
* Fix highlighting of nested fields [[GH-1007]](https://github.com/fatih/vim-go/pull/1007)
* Fix checking for `exepath` feature for the upcoming vim 8.0 release [[GH-1046]](https://github.com/fatih/vim-go/pull/1046)
BACKWARDS INCOMPATIBILITIES:
* Rename `GoMetalinterAutoSaveToggle` to `GoMetaLinterAutoSaveToggle` to make it compatible with the existing `:GoMetaLinter` command [[GH-1020]](https://github.com/fatih/vim-go/pull/1020)
## 1.8 (July 31, 2016)
FEATURES:
* New ** `:GoAddTags` ** command that adds field tags for the fields of a struct automatically based on the field names. Checkout the demo to see it in action: https://twitter.com/fatih/status/759822857773907968 [[GH-971]](https://github.com/fatih/vim-go/pull/971)
* The snippet expansion `json` is now much more smarter. It pre populates the placeholder according to the first word and it also applies `snake_case` or `camelCase` conversion. Together with `:GoAddTags` it gives `vim-go` users flexible ways of populating a field tag. Checkout the demo to see it in action: https://twitter.com/fatih/status/754477622042689536 [[GH-927]](https://github.com/fatih/vim-go/pull/927)
* New ** `:GoSameIds` ** command. When called highlights all same identifiers in the current file. Can be also enabled to highlight identifiers automatically (with `:GoSameIdsAutoToggle` or `g:go_auto_sameids` ). Checkout the demo to see it in action: https://twitter.com/fatih/status/753673709278339072. [[GH-936]](https://github.com/fatih/vim-go/pull/936)
* New ** `:GoWhicherrs` ** command. It shows all possible values of the selected error variable. [[GH-948]](https://github.com/fatih/vim-go/pull/948)
* Add new `errp` snippet to expand an `if err != nil { panic() }` clause [[GH-926]](https://github.com/fatih/vim-go/pull/926)
* If you open a new buffer with a Go filename it get automatically populated based on the directory. If there are no Go files a simple main package is created, otherwise the file will include the package declaration line based on the package in the current directory. Checkout the demo to see it in action: https://twitter.com/fatih/status/748333086643994624. This is enabled by default. Can be disabled with `let g:go_template_autocreate = 0` . You can use your own template with `let g:go_template_file = "foo.go"` and putting the file under the `templates/` folder. [[GH-918]](https://github.com/fatih/vim-go/pull/918)
* Added new toggle commands to enable/disable feature that run for your
automatic. For example if you have `let g:go_auto_type_info = 1` enabled, you
can now easily enable/disable it on the fly. Support added with the following
commands: `:GoAutoTypeInfoToggle` , `:GoFmtAutoSaveToggle` ,
`:GoAsmFmtAutoSaveToggle` , `:GoMetalinterAutoSaveToggle` ,
`:GoTemplateAutoCreateToggle` [[GH-945]](https://github.com/fatih/vim-go/pull/945)
IMPROVEMENTS:
* `:GoDoc` accepts arguments now which are passed directly to `godoc` . So usages like `:GoDoc flag` works again (it was changed in previous versions [[GH-894]](https://github.com/fatih/vim-go/pull/894)
* `:GoDef` works now for modified files as well [[GH-910]](https://github.com/fatih/vim-go/pull/910)
* Internal: pass filename to the `--srcdir` flag to enable upcoming `goimports` features [[GH-957]](https://github.com/fatih/vim-go/pull/957)
* Internal: fix indentations on all files to **2-spaces/no tabs** . This is now the default vim-go style across all VimL files [[GH-915]](https://github.com/fatih/vim-go/pull/915)
* Internal: autocmd settings can be now dynamically enabled/disabled [[GH-939]](https://github.com/fatih/vim-go/pull/939)
* Internal: automatically detect `GOPATH` for :GoInstall [[GH-980]](https://github.com/fatih/vim-go/pull/980)
* Internal: shell executions uses now by default `sh` and then resets it back to the user preference. [[GH-967]](https://github.com/fatih/vim-go/pull/967)
* Syntax: improved syntax highglighting performance for methods, fields, structs and interface type declarations [[GH-917]](https://github.com/fatih/vim-go/pull/917)
* Syntax: moved `:GoCoverage` highlight definition into go's syntax file for more customizability [[GH-962]](https://github.com/fatih/vim-go/pull/962)
BUG FIXES:
* Escape `#` characters when opening URL's, as it's handled as alternative file in vim [[GH-895]](https://github.com/fatih/vim-go/pull/895)
* Fix typos in `doc/vim-go.txt` about usages of syntax highglightings [[GH-897]](https://github.com/fatih/vim-go/pull/897)
* Fix `:GoCoverage` not running for Neovim [[GH-899]](https://github.com/fatih/vim-go/pull/899)
* Fix `:GoFmt` not picking up `-srcdir` if the command was set to use `goimports` [[GH-904]](https://github.com/fatih/vim-go/pull/904)
* Fix `:GoTestCompile` to not leave behind artifacts if the cwd and the test files's directory do not match [[GH-909]](https://github.com/fatih/vim-go/pull/909)
* Fix `:GoDocBrowser` to not fail if godoc doesn't exist [[GH-920]](https://github.com/fatih/vim-go/pull/920)
* Fix `:GoFmt` to not change the permissions of saved file. Now original file permissions are restored [[GH-922]](https://github.com/fatih/vim-go/pull/922)
BACKWARDS INCOMPATIBILITIES:
* `g:go_highlight_structs` and `g:go_highlight_interface` are removed in favor of `g:go_highlight_types` [[GH-917]](https://github.com/fatih/vim-go/pull/917)
## 1.7.1 (June 7, 2016)
BUG FIXES:
* Fixed typo in `syntax/go.vim` file from `go:go_highlight_fields` to `g:go_highlight_fields`
## 1.7 (June 7, 2016)
FEATURES:
* New ** `:GoImpl` ** command that generates method stubs for implementing an interface. Checkout the [demo ](https://twitter.com/fatih/status/729991365581545472 ) to see how it works. [[GH-846]](https://github.com/fatih/vim-go/pull/846)
* `godef` support is added back as an optional setting. By default `:GoDef` still uses `guru` , but can be changed to `godef` by adding the option: `let g:go_def_mode = 'godef'` [[GH-888]](https://github.com/fatih/vim-go/pull/888)
* New `<C-w><C-]>` and `<C-w>]>` shortcuts to split current window and jumpt to the identifier under cursor. [[GH-838]](https://github.com/fatih/vim-go/pull/838)
* New syntax setting" `g:go_highlight_fields` that highlights struct field references [[GH-854]](https://github.com/fatih/vim-go/pull/854)
IMPROVEMENTS:
* Invoking `:GoRename` now reloads all files to reflect new changes automatically [[GH-855]](https://github.com/fatih/vim-go/pull/855)
* Calling `:GoTestCompile` does not create any temporary binary file anymore [[GH-879]](https://github.com/fatih/vim-go/pull/879)
* Enable passing the `-tags` flag to `:GoDef` . Now you can pass build tags to `:GoDef` via `:GoGuruTags` or `g:go_guru_tags`
* Internal refactoring to use custom `system()` function that wraps both the standard `system()` call and `vimproc` . Now all system calls will take advantage and will use `vimproc` if installed. [[GH-801]](https://github.com/fatih/vim-go/pull/801)
* Completion enables now `gocode` 's `autobuild` and `propose-builtins` flags automatically. With these settings packages will be automatically build to get the freshest completion candidates and builtin keywords will be showed as well. By defaults these settings are enabled. Settings can be disabled/enabled via `g:go_gocode_autobuild` and `g:go_gocode_propose_builtins` . [[GH-815]](https://github.com/fatih/vim-go/pull/815)
* Added new `http.HandlerFunc` snippets with `hf` and `hhf` shortcuts [[GH-816]](https://github.com/fatih/vim-go/pull/816)
* Added new `Example` and `Benchmark` snippets with `example` and `benchmark` shortcuts [[GH-836]](https://github.com/fatih/vim-go/pull/836)
* Search tool binaries first in `GOBIN` and then in `PATH` as most of vim-go users installs it to `GOBIN` mostly [[GH-823]](https://github.com/fatih/vim-go/pull/823)
* Improve `guru` based commands by providing automatically detected GOPATHS, such as `gb` , `godep` to be used if possible [[GH-861]](https://github.com/fatih/vim-go/pull/861)
* Add `<Plug>(go-imports)` mapping to make it assignable to other keys [[GH-878]](https://github.com/fatih/vim-go/pull/878)
* Increase compatibility with tcsh [[GH-869]](https://github.com/fatih/vim-go/pull/869)
* Improve `:GoInstallBinaries` for GOPATH's which don't have packages that work well with `go get -u` . We have a new `g:go_get_update` setting to disable it. By default it's enabled. [[GH-883]](https://github.com/fatih/vim-go/pull/883)
BUG FIXES:
* Fix `(go-freevars)` plug mapping to work as in visual mode instead of noncompatible normal mode [[GH-832]](https://github.com/fatih/vim-go/pull/832)
* Commands based on guru now shows a more meaningful error message instead of just showing the exit status (-1)
* Fix `:GoCoverage` accidentally enabling syntax highlighting for users who don't use syntax (i.e syntax off) [[GH-827]](https://github.com/fatih/vim-go/pull/827)
* Fix `:GoCoverage` colors to work for xterm as well [[GH-863]](https://github.com/fatih/vim-go/pull/863)
* Fix commenting out block of texts for Go templates (filetype gothtmltmpl) [[GH-813]](https://github.com/fatih/vim-go/pull/813)
* Fix `:GoImplements` failing because of an empty scope definition. Now we default to current package to make it usable.
* Fix `:GoPlay` posting to non HTTPS url. [[GH-847]](https://github.com/fatih/vim-go/pull/847)
* Fix escaping the filenames for lint and motion commands [[GH-862]](https://github.com/fatih/vim-go/pull/862)
* Fix escaping the filename to `:GoDef` completely for tcsh [[GH-868]](https://github.com/fatih/vim-go/pull/868)
* Fix showing SUCCESS for `go test` related commands if no test files are available [[GH-859]](https://github.com/fatih/vim-go/pull/859)
## 1.6 (April 25, 2016)
FEATURES:
* New `CHANGELOG.md` file (which you're reading now). This will make it easier
for me to track changes and release versions
* **`:GoCoverage`** is now highlighting the current source file for
covered/uncovered lines. If called again it runs the tests and updates the
annotation. Use `:GoCoverageClear` to clear the coverage annotation.
This is a pretty good addition to vim-go and I suggest to check out the gif
that shows it in action: https://twitter.com/fatih/status/716722650383564800
[[GH-786]](https://github.com/fatih/vim-go/pull/786)
* **`:GoCoverageToggle`** just like `:GoCoverage` but acts as a toggle. If run
again it clears the annotation.
* **`:GoCoverageBrowser`** opens a new annotated HTML page. This is the old
`:GoCoverage` behavior [[GH-786]](https://github.com/fatih/vim-go/pull/786)
* **`:GoDoc`** uses now [gogetdoc ](https://github.com/zmb3/gogetdoc ) to
lookup and display the comment documentation for the identifier under the
cursor. This is more superior as it support looking up dot imports, named
imports and imports where package name and file name are different [[GH-782]](https://github.com/fatih/vim-go/pull/782)
* **`guru support`**: `oracle` is replaced by the new tool `guru` . `oracle.vim`
is therefore renamed to `guru.vim` . I've also refactored the code to make it
much more easier to maintain and add additional features in future (such as
upcoming JSON decoding). vim-go is now fully compatible with `guru` . Please
be sure you have installed `guru` . You can easily do it with
`:GoInstallBinaries` .
* **`:GoDef`** uses now `guru definition` under the hood instead of `godef` .
This fixes the following issues: 1. dot imports 2. vendor imports 3. folder
!= package name imports. The tool `godef` is also deprecated and not used
anymore.
* **`:GoDef`** does have now history of the call stack. This means you can
easily jump back to your last entry. This can be done with the new command
`:GoDefPop` or the mapping `CTRL-t` . To see the stack and jump between entries
you can use the new command `:GoDefStack` , which shows the list of all stack
entries. To reset the stack list anytime you can call `:GoDefStackClear`
[[GH-776]](https://github.com/fatih/vim-go/pull/776)
IMPROVEMENTS:
* **`:GoCoverage`** is executed asynchronously when used within Neovim [[GH-686]](https://github.com/fatih/vim-go/pull/686)
* **`:GoTestFunc`** supports now testable examples [[GH-794]](https://github.com/fatih/vim-go/pull/794)
* **`:GoDef`** can jump to existing buffers instead of opening a new window
(split, vsplit or tab). By default it's disabled to not break the old
behavior, can be enabled with `let g:go_def_reuse_buffer = 1`
BUG FIXES:
* Fix not showing documentation for dot, named and package/file name being different imports [[GH-332]](https://github.com/fatih/vim-go/pull/332)
* Term mode: fix closing location list if result is successful after a failed attempt [[GH-768]](https://github.com/fatih/vim-go/pull/768)
* Syntax: fix gotexttmpl identifier highlighting [[GH-778]](https://github.com/fatih/vim-go/pull/778)
* Doc: fix wrong wording for `go-run` mapping. It's for the whole main package,
not for the current file
BACKWARDS INCOMPATIBILITIES:
* `:GoDef` doesn't accept any identifier as an argument. This is not suported
via `guru definition` and also was not widely used either. Also with this, we
significantly simplified the existing def.vim code
* `:GoOracleScope` and `:GoOracleTags` are deprecated in favor of
`:GoGuruScope` and `:GoGuruTags` . Also `g:go_oracle_scope` is renamed to
`g:go_guru_scope`
* `g:go_guru_scope` accepts a variable in type of `list` instead of `string` .
i.g: `let g:go_guru_scope = ["github.com/fatih/structs", "golang.org/x/tools/..."]`
## 1.5 (Mar 16, 2016)
FEATURES:
* Introducing code name "motion". A new whole way of moving
around and navigating [[GH-765]](https://github.com/fatih/vim-go/pull/765). Checkout the following new changes:
* A vim-go specific tool, called [motion ](https://github.com/fatih/motion ) is being developed which
provides us the underlying foundation for the following and upcoming
new features.
* `]]` and `[[` motions can be used to jump between functions
* `if` and `af` are improved and implement from scratch. It has now
support for literal functions, comments of functions, better cursor
position support and more stable.
* New `:GoDecls` and `:GoDeclsDir` commands that are available if
`ctrlp.vim` is installed. Once called one can easily jump to any generic declaration available.
* I wrote two blog posts about these new features in more detail. I recommend you to read it: [Treating Go types as objects in Vim ](https://medium.com/@farslan/treating-go-types-as-objects-in-vim-ed6b3fad9287#.mbwaisevp ) and [Navigation between functions and types in vim-go ](https://medium.com/@farslan/navigation-between-functions-and-types-in-vim-go-f9dd7de8ca37#.2sdf8tbbe )
* A new `:GoAlternate` command that toggles to the test
file of the current file. It also has new appropriate mappings to open the
alternate file in split or tabs. [[GH-704]](https://github.com/fatih/vim-go/pull/704)
* Now commands can choose whether they want to open a
`quickfix` or a `location list` via the setting `g:go_list_type` . Also all
the commands have now some sensible settings, some will open a qf window,
some will open a location list [[GH-700]](https://github.com/fatih/vim-go/pull/700)
IMPROVEMENTS:
* Add support for goimport's new `-srcdir` . Goimports now succesfully suports `vendor/` folders with this release. [[GH-735]](https://github.com/fatih/vim-go/pull/735)
* Add `g:go_gorename_prefill` setting which disabled pre filling the argument for `:GoRename` [[GH-711]](https://github.com/fatih/vim-go/pull/711)
* Improve `:GoRun` to complete to filenames [[GH-742]](https://github.com/fatih/vim-go/pull/742)
* Highlight `//go:generate` comment directives [[GH-757]](https://github.com/fatih/vim-go/pull/757)
* Indent code in Go HTML templates [[GH-709]](https://github.com/fatih/vim-go/pull/709)
* Improve negative numbers of all types, octals, imaginary numbers with exponents [[GH-752]](https://github.com/fatih/vim-go/pull/752)
* Improved internal usage of retrieving offsets [[GH-762]](https://github.com/fatih/vim-go/pull/762)
* Improve by substitute all backslashes to slashes for filename [[GH-703]](https://github.com/fatih/vim-go/pull/703)
* Improve internal Go package path function [[GH-702]](https://github.com/fatih/vim-go/pull/702)
* Improved typo and grammar errors in docs [[GH-714]](https://github.com/fatih/vim-go/pull/714)
* Improved internal `:GoInfo` automatic call [[GH-759]](https://github.com/fatih/vim-go/pull/759)
BUG FIXES:
* Fix oracle scope not working if trailing slash exists in scope [[GH-751]](https://github.com/fatih/vim-go/pull/751)
* Fix `:GoErrCheck` checking abspath [[GH-671]](https://github.com/fatih/vim-go/pull/671)
* Fix `:GoInstall` correctly parsing errors [[GH-692]](https://github.com/fatih/vim-go/pull/692)
* Fix `:GoInstall` correctly parsing errors [[GH-692]](https://github.com/fatih/vim-go/pull/692)
* Fix `:GoTestFunc` for neovim [[GH-695]](https://github.com/fatih/vim-go/pull/695)
* Fix `:GoRun` accepting arguments for neovim [[GH-730]](https://github.com/fatih/vim-go/pull/730)
* Fix `go run` mappings not working [[GH-542]](https://github.com/fatih/vim-go/pull/542)
* Fix autodetect gopath picking up non existing GB vendor folder
* Fix gofmt errors showing per buffer instead of per script [[GH-721]](https://github.com/fatih/vim-go/pull/721)
* Fix some of the neosnippet snippets
## 1.4 (Jan 18, 2016)
FEATURES:
* You waited for it for a long time. And here you have it: **Neovim support!**
This is a huge feature. It's fully compatible with Vim and kicks only in if
vim-go is being used within Neovim. Checkout the full list of changes
[[GH-607]](https://github.com/fatih/vim-go/pull/607):
* An async launcher and base foundation was implemented for the `go` command.
This will be used in the future for all upcoming subcommands of the `go`
tool.
* `:GoBuild` is now called asynchronously (it doesn't block the UI anymore).
* A new `go#jobcontrol#Statusline()` can be used to plug into the statusline.
This will show the status of the job running asynchronously. The statusline
is improved to show the status per package instead of file. Assume you have
three files open, all belonging to the same package, if the package build
(`:GoBuild`) is successful, all statusline's will be empty (means SUCCESS),
if it fails all files statusline's will show `FAILED` .
* `:GoRun` opens a new vertical terminal emulator inside Neovim and runs the
command there. The terminal mode can be changed with `g:go_term_mode` ,
which is by default `vsplit` . Current options are `vsplit, split or tab` .
We also have three new mappings to open `:GoRun` command in different
terminal split modes: `<Plug>(go-run-vertical)` , `<Plug>(go-run-split)`
and `<Plug>(go-run-tab)`
* `:GoTest` , `:GoTestFunc` and `:GoTestCompile` opens and runs in a new
terminal. The view mode (split,vertical, tab) is defined with
`g:go_term_mode` . The `g:go_term_enabled` setting can be use to change the
behavior of `:GoTestXXX` commands .If set to `1` , it opens the test
commands inside a terminal, if not it runs them in background just like
`:GoBuild` and displays the result in the statusline.
* We have two settings for terminal sizes: `g:go_term_height` and
`g:go_term_width` . By default a vertical or horizontal view is equally
splitted by vim automatically. However with these settings we can for
example have a terminal with a smaller height when we split it
horizontally.
* If a command inside the term fails (such as `go run` , `go test` ...) we
parse now the errors and list them inside a location list.
* Instead of quickfix window, vim-go now uses the `location list` feature of
Vim. These are associated with each window independently of each other. This
enables us to have multiple, independent location lists per window (example
usages: `:GoBuild` with errors that needs to be fixed, `:GoLint` with
warnings that we want to check, `:GoReferrers` with a list of referred
identifiers) [[GH-626]](https://github.com/fatih/vim-go/pull/626)
* a new ** `:AsmFmt` ** command which is integrated to work with [asmfmt ](https://github.com/klauspost/asmfmt ) [[GH-673]](https://github.com/fatih/vim-go/pull/673)
* the full identifier information of a completed identifier is echoed in
statusline. This is very useful to see a function signatures arguments.
[[GH-685]](https://github.com/fatih/vim-go/pull/685)
IMPROVEMENTS:
* Improve `:GoFmt` by checking if the binary is indeed installed on the system [[GH-617]](https://github.com/fatih/vim-go/pull/617)
* Improve `:GoMetaLinter` by adding the option to run the metalinter on save
and adding the option to limit the output to the currently active buffer. Set
`let g:go_metalinter_autosave = 1` to enable autosave and use `let
g:go_metalinter_autosave_enabled = ['vet', 'golint']` to change your options.
[[GH-631]](https://github.com/fatih/vim-go/pull/631)
* Improved `:GoDef` . If `vimproc` is installed `godef` will make use of it [[GH-670]](https://github.com/fatih/vim-go/pull/670)
* Improve completion of godoce when vimproc is used [[GH-620]](https://github.com/fatih/vim-go/pull/620)
* Improve internal error matching prodecure to not match false positives [[GH-618]](https://github.com/fatih/vim-go/pull/618)
* A new option to highlight interface variables with `go_highlight_interfaces` [[GH-681]](https://github.com/fatih/vim-go/pull/681)
BUG FIXES
* Fix `:GoFmt` changing the fileformat of the current buffer [[GH-615]](https://github.com/fatih/vim-go/pull/615)
* Fix `:GoRename` to output the original error if parsing fails [[GH-675]](https://github.com/fatih/vim-go/pull/675)
* Fix `:GoTest` to output the original error if parsing fails [[GH-676]](https://github.com/fatih/vim-go/pull/676)
* Fixed `fmt.Fprintln` not to highlight as builtin [[GH-628]](https://github.com/fatih/vim-go/pull/628)
* Fixed wrong highlighting of channels of channels [[GH-678]](https://github.com/fatih/vim-go/pull/678)
## 1.3 (Nov 22, 2015)
FEATURES:
* A new `:GoOracleTags` command was added to pass build tags to Oracle's `-tags` flag. [[GH-573]](https://github.com/fatih/vim-go/pull/573)
IMPROVEMENTS:
* Change `:GoTest` command to timeout after 10 seconds. Vim UI is blocking and
tests with large running times makes Vim blocking for a long time. This is
also customizable with the new option `g:go_test_timeout` . [[GH-578]](https://github.com/fatih/vim-go/pull/578)
* Improve `:GoRename` to collect and populate quickfix window with errors.
[[GH-577]](https://github.com/fatih/vim-go/pull/577)
* Improve `:GoRun` by dropping bad filenames from quickfix window. This allows
us to have only valid entries which can be jumped to [[GH-547]](https://github.com/fatih/vim-go/pull/547)
* Improve `:GoMetaLinter` quickfix output by using absolute paths. This enables
us to jump to errors for all cases. [[GH-565]](https://github.com/fatih/vim-go/pull/565)
* Improve `:GoMetaLinter` command by adding a new option
`g:go_metalinter_deadline` which cancels the linters after 5 seconds
(previous default). [[GH-576]](https://github.com/fatih/vim-go/pull/576)
* Improve `:GoMetaLinter` by jumping to the first encountered error from the quickfix window.
* Automatically resize quickfix window based on the number of errors [[GH-602]](https://github.com/fatih/vim-go/pull/602)
* Improve build constraints to show invalid cases (such as `// +buildfoo` , not
having an empty line between the package statement, etc..). Also add missing
`GOARCH` values sucha s `arm64` . There are many other useful improvements,
for more detail please have a look at
[[GH-589]](https://github.com/fatih/vim-go/pull/589)
* Add support for all values of `GOARCH` [[GH-601]](https://github.com/fatih/vim-go/pull/601)
* Add note about Syntastic usage as this problem comes up a lot [[GH-580]](https://github.com/fatih/vim-go/pull/580)
* Add note about `:GoUpdateBinaries` [[GH-606]](https://github.com/fatih/vim-go/pull/606)
BUG FIXES:
* Fixed `:GoErrCheck` showing the correct output when executed inside the source folder [[GH-564]](https://github.com/fatih/vim-go/pull/564)
* Fixed `:GoBuild` by not using `/dev/null` anymore for build output (not
supported by `go` ). We pass a temporary file now. [[GH-567]](https://github.com/fatih/vim-go/pull/567)
* Fixed `:GoFmt` passing `g:go_fmt_options` options to `goimports` . This option
is only valid with `gofmt` . [[GH-590]](https://github.com/fatih/vim-go/pull/590)
* Fix vim-go for `cygwin` users. [[GH-575]](https://github.com/fatih/vim-go/pull/575)
* Fixed identifier in template files to be highlighted correctly [[GH-559]](https://github.com/fatih/vim-go/pull/559)
* Fixed character region in template files to be highlighted correctly [[GH-603]](https://github.com/fatih/vim-go/pull/603)
* Fixed variables in template files to be highlighted correctly [[GH-611]](https://github.com/fatih/vim-go/pull/611)
* Do not treat builtins as keywords. Now `make` will not highlighted but
`make()` will be highlighted (gh-605)
## 1.2 (Oct 2, 2015)
FEATURES:
* A new `:GoMetaLinter` command which invokes [gometalinter ](https://github.com/alecthomas/gometalinter ). Please check the PR [[GH-553]](https://github.com/fatih/vim-go/pull/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 ](http://getgb.io/ ) support
BUG FIXES:
* Fixed `:GoRun` to display errors when `g:go_dispatch_enabled` was enabled
* Fixed `:GoDrop` displaying "Not enough arguments" (regression)
* Fixed `:GoErrCheck` not showing `PASS` 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.
## 1.1 (Jul 25, 2015)
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.
## 1.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/.
## 1.0.4 (Apr 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.
## 1.0.3 (Mar 7, 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...
## 1.0.2 (Feb 17, 2015)
FEATURES:
* New snippets are added, mostly for testing ( [changes ](https://github.com/fatih/vim-go/pull/321/files ))
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
## 1.0.1 (Feb 9, 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 ](https://github.com/fatih/vim-go#donations ) section to Readme, for those who ask for it.
* Fix parsing of errcheck error syntax
* Fix consistency between Neosnippet and UltiSnips snippets
## 1.0 (Dec 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).
## 0.0 (Mar 24, 2014)
Initial commit: https://github.com/fatih/vim-go/commit/78c5caa82c111c50e9c219f222d65b07694f8f5a
<!--
vim: et ts=2 sw=2
-->