govim

govim is a Go development plugin for Vim8, written in Go

BSD-3-CLAUSE License

Stars
872
Committers
16
govim - v0.0.35 Latest Release

Published by myitcv about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/govim/govim/compare/v0.0.34...v0.0.35

govim - v0.0.34

Published by myitcv over 3 years ago

The main new features in this release are the addition of a config option ExperimentalWorkspaceModule, which allows a user to opt into the experimental support for multi-module workspaces provided by gopls, and support for quickfix code actions that return commands (the canonical example here being the go get command returned for a code action to fix missing require directives).

Thanks to @leitzler for contributing towards this release.

Breaking changes

None.

Major enhancements

  • cmd/govim: add ExperimentalWorkspaceModule config option (#1052) 01d412a9
  • cmd/govim: support quickfix code actions returning commands (#1026) a8b8ff21

gopls changes

  • deps: update x/tools and gopls to 376db572 (#1053) 2c8a2ba4
  • deps: update x/tools and gopls to f5a4005d (#1051) f3c5198f
  • deps: update x/tools and gopls to f3748ed8 (#1048) b670a89d
  • deps: update x/tools and gopls to 4b197900 (#1047) fc43d75c
  • deps: update x/tools and gopls to 68c7d11a (#1042) 79ce8a07
  • deps: update x/tools and gopls to 51f72a19 (#1040) 2afc6a46

Major bug fixes

None

Other (including bug fixes)

  • cmd/govim: set the user to not be busy when window focus is lost (#1045) 7365ab76
  • ci: drop go1.14 from the build matrix (#1046) a44d12d3
  • ci: fix build by moving to Go 1.16 (#1043) fb8ed339
  • test: re-enable quickfix_empty_files test (#1041) c8ad0d43
  • cmd/govim: be more specific in our call to getbufinfo (#1039) b8a53c57
  • cmd/govim: append working dir as PWD when calling go env GOMOD (#1036) 76ee86da
  • cmd/govim: remove internal buffer on BufWipeout (#1037) cec2a53f
  • cmd/govim: do not add short-lived buffers during :vimgrep (#1034) 2d95013e
govim - v0.0.33

Published by myitcv over 3 years ago

The main new feature in this release is GOVIMGoTest, which allows you to run tests based on the cursor position. See https://github.com/govim/govim/pull/974/commits/ed5f0e30574626634f9056fa8d0b4df83a89fa8e for more details.

You can also configure gopls to use gofumpt as the formatter. See https://github.com/govim/govim/pull/1005/commits/dac6f9c4621a9d88247c0236c898c02c61f00d94 for more details.

In Go 1.16, cmd/go now defaults to -mod=readonly for build commands. This means that go build, go test, go list and other build commands will not run if changes are required to go.{mod,sum} in order for the build to succeed. You first need to run go mod tidy or an equivalent command to add the relevant requirements to go.{mod,sum}. gopls has followed suit by making the addition of requirements to a go.{mod,sum} an explicit step. For some people this will be a welcome change. For others this might be something of a chore, for example when adding an import via unimported completions it can be argued the selection involves specifying a module and hence requiring a further manual step to add the module requirement is unnecessary. Whether go.{mod,sum} changes are allowed is now controlled by ExperimentalAllowModfileModifications. To ease the transition this defaults to "on". We will also be raising an issue with the gopls team to discuss how to phase out use of this option, specifically in the context of operations that should arguably not require an additional module requirement step (the case of unimported completions is the most obvious).

Thanks to @leitzler, @bbrodriges and @mvdan for contributing towards this release.

Breaking changes

None.

Major enhancements

  • cmd/govim: add ExperimentalAllowModfileModifications (#1027) 7bb65e2a
  • cmd/govim: add support for gofumpt as formatter (#1005) 57ae0ca1
  • cmd/govim: add "go test" popup highlighting (#997) f3f5b7fc
  • cmd/govim: add support for testing via gopls GOVIMGoTest (#974) 67804fee

gopls changes

  • deps: update x/tools and gopls to 842a9283 (#1031) 9b702de6
  • deps: update x/tools and gopls to db4c57db (#1021) a31027dd
  • deps: update x/tools and gopls to fe37c9e1 (#1018) e320576f
  • deps: update x/tools and gopls to 7339b0642069 (#1014) 40cdc63f
  • deps: update x/tools and gopls to ae774e97 (#1009) fbc47f7c
  • deps: update x/tools and gopls to fa10ef0b (#1006) 563f0b21
  • deps: update x/tools and gopls to 368bee87 (#1003) 0d0e56dd
  • deps: update x/tools and gopls to 65435275 (#1002) 2c941ee6
  • Revert "deps: update x/tools & gopls to 299f270d (#993)" (#994) 0840922b
  • deps: update x/tools & gopls to 299f270d (#993) 41bd4d07
  • deps: update x/tools and gopls to 598b068a (#989) 124bb907
  • deps: update x/tools and gopls to 5794f8bd7a57 (#987) 1b85ff51
  • deps: update x/tools and gopls to f46e4245 (#985) 5ecd0287

Major bug fixes

None

Other (including bug fixes)

  • cmd/govim: populate go.sum files for tests that use non-std packages (#1030) aad6894a
  • ci: add go1.16rc1 to the build matrix (#1024) 85542c15
  • cmd/govim: remember previous position before GOVIMMotion call (#1022) 5e650499
  • README: minor language tweaks (#1010) 245cb1ac
  • cmd/govim: fix panic when using custom hover opts "col" / "line" (#1013) 0bf3c9f8
  • Support "goimports-gofmt" value for FormatOnSave (#1011) 4c1364fa
  • cmd/govim: add new config that changes how last progress is opened (#995) 8761a606
  • ci: use explicit version of Ubuntu on GitHub actions for now (#990) 89adc6c8
  • ci: drop use of set-env and add-path (#986) 1203460e
govim - v0.0.32

Published by myitcv almost 4 years ago

Thanks to @leitzler, @tbruyelle and @akupila for contributing towards this release

Breaking changes

None.

Major enhancements

  • cmd/govim: first cut of command-line mode to query "parent" (#848) b0af0a31
    • enables fzf and other "finders" to be used as an interface for fuzzy workspace symbol search
    • See the wiki for more details on how to try this out
  • cmd/govim: improve qf index selection on update (#980) d026bae2
    • fixes an annoying "feature" whereby the quickfix selection jumped all over the place when new diagnostics were added, or old ones removed
  • cmd/govim: add support for ranged StringFn w/o visual mode (#971) 269cdde2
  • cmd/govim: add support for popups showing WorkDoneProgress (#932) 451994f5
  • cmd/govim: add "Toggle gc annotation details" feature (#923) 45e6de66
    • calling :GOVIMGCDetails will toggle diagnostics that show Go compiler details such as escape analysis
  • cmd/govim: add user enabled analyses configuration (#904) 4e77c85a
    • enables the possibility to pick which analyses to run in gopls
  • cmd/govim: support multiple fillstruct edits (#897) a9a4fe34
  • cmd/govim: add support for "fill struct" code action (#885) 219d6b3f
    • calling :GOVIMFillStruct will tell gopls to fill the structure beneath the cursor
  • cmd/govim: add highlighting to signature help popup (#877) a4744a12
    • current parameter is now shown in bold

gopls changes

  • deps: update x/tools and gopls to (#984) 7ee74c45
  • deps: update x/tools and gopls to 8cd080b7 (#981) 90a0db54
  • deps: update x/tools and gopls to 9cf592e8 (#979) 4b975294
  • deps: update x/tools and gopls to b894a329 (#977) 6a5386b6
  • deps: update x/tools and gopls to 8c269738 (#973) 96e348a4
  • deps: update x/tools and gopls to fcf82128 (#970) c21c51ee
  • deps: update x/tools and gopls to 42b62fc9 (#959) a186170e
  • deps: update x/tools and gopls to d647fc25 (#955) 00139d77
  • deps: update x/tools and gopls to 63098cc4 (#954) 6e352d44
  • deps: update x/tools and gopls to 6ec2cde9 (#952) aa92da9a
  • deps: update x/tools and gopls to 64986481 (#947) a930a4b0
  • deps: update x/tools and gopls to acefd226 (#938) 9f55e9c4
  • deps: update x/tools and gopls to d1954cc86c82 (#935) baafdaba
  • deps: update x/tools and gopls to c8f39374 (#930) cc9fbe1a
  • deps: update x/tools and gopls to 9882f1d1 (#929) be5a1e7a
  • deps: update x/tools and gopls to 48a8ffc5 (#927) eaafd8b4
  • deps: update x/tools and gopls to ace63f8701f5 (#926) f1da9bb8
  • deps: update x/tools and gopls to 41a9f6dc6634 (#924) c3c12d9b
  • deps: update x/tools and gopls to b5fad4ed8dd6 (#921) ec7e4810
  • deps: upgrade x/tools and gopls to 6467de6f (#915) 728a6bd2
  • deps: upgrade x/tools and gopls to 1c30660f (#911) b9114803
  • deps: upgrade x/tools and gopls to 77f530d86f9a (#913) c6e168a5
  • deps: update x/tools and gopls to 6ddee643 (#908) beba2333
  • deps: update x/tools and gopls to 0cc1aa72b347 (#901) 15e2d7c5
  • deps: update x/tools and gopls to 7480c7b4 (#900) 0bbbc8c1
  • deps: update x/tools and gopls to 25775e59acb7 (#899) c535003b
  • deps: update x/tools and gopls to 0f592d27 (#896) f7d55aff
  • deps: update x/tools and gopls to b1f3cdd6 (#891) e2a18021
  • deps: update x/tools and gopls to c1934b75 (#890) 1393ce8f
  • deps: update x/tools and gopls to 742c5eb6 (#887) 222b776a
  • deps: update x/tools and gopls to 3e83d1e96d0e (#886) 902485f7
  • deps: update x/tools and gopls to (#880) 5324d624
  • deps: update x/tools and gopls to 8e7acdbc (#878) 77b672ec

Major bug fixes

None

Other (including bug fixes)

  • cmd/govim: rename "vimstate.popupWinId" to please staticcheck (#983) f0ff10ea
  • cmd/govim: fix overlap and formating issues in progress popups (#976) e92ab565
  • cmd/govim: Log ShowMessage callbacks in a consistent way (#975) 64b2c7aa
  • cmd/govim: support multi-line progress messages in popup (#968) 39729ae0
  • cmd/govim: call didChangeWatchedFiles for go.sum files (#966) 1bed0ed6
  • cmd/govim: fix line-wise visual selection in GOVIMStingFn (#962) 6167faba
  • cmd/govim: allow signature help for anonymous functions (#958) 047c05cc
  • cmd/govim/config: add SymbolMatcher and SymbolStyle config (#939) 2adbf3d7
  • cmd/govim: track go.mod files (#948) c881b409
  • cmd/govim: log UnregisterCapability client calls (#951) 8ea52499
  • ci: update build matrix to latest Go and Vim versions (#953) b2ebd8b9
  • cmd/govim: trigger AST parsing after applyProtocolTextEdits (#941) f35c26e3
  • Revert "cmd/govim: try to unskip tests skipped on golang.org/issues/39646 (#943)" (#944) 7fa79f7d
  • cmd/govim: try to unskip tests skipped on golang.org/issues/39646 (#943) c8c4a6f8
  • cmd/govim: try to unskip tests skipped on golang.org/issues/36789 (#942) b1c1c85f
  • deps: upgrade to github.com/rogpeppe/[email protected] (#937) bab59a6e
  • cmd/govim: fix scheduling of work (#936) e1639191
  • ci: update to go1.15 (#928) 8dd18362
  • ci: use go1.15rc2 (#925) f79beb42
  • cmd/govim: drop test skip based on golang.org/issues/36745 (#917) c926e360
  • cmd/govim: add envsubst command for testscript tests (#918) f3daabea
  • cmd/govim: change test skip to be based on golang.org/issues/36880 (#919) a26a3bff
  • cmd/govim: disable flaky quickfix_empty_files and modfile_changes tests (#920) f921f561
  • cmd/govim: drop test skip based on golang.org/issues/36743 (#916) cbf66e72
  • all: prepare for renaming master branch to main (#910) 8e423df8
  • ci: use go1.15rc1 (#912) 02d18f26
  • test: move fillstruct test to scenario_fillstruct (#905) 3c78e51c
  • ci: fix Vim master build (#907) 54eb286c
  • ci: enable unstable (i.e. beta) go versions in vim master tests (#906) 086297ee
  • ci: add go1.15beta1 to the build matrix (#903) af559cf7
  • Revert "cmd/govim: use gopls serve command explicitly (#898)" (#902) e539edf7
  • cmd/govim: use gopls serve command explicitly (#898) ca39b23b
  • ci: fix Vim master build Go version (#883) 968e9a51
  • deps: upgrade Vim latest to v8.2.0931 and Go to go1.14.4 and go1.13.12 (#882) 8ea5adf4
  • ci: test Vim master every 24 hours (#881) c714da21
govim - v0.0.31

Published by myitcv over 4 years ago

Thanks to @tjcain, @leitzler and @stamblerre for contributing towards this release.

Breaking changes

None

Major enhancements

  • cmd/govim: add new GOVIMGoToTypeDef command (#864) 977fb0c8
  • cmd/govim: add a first cut of signature help (#854) 0370e72f
  • cmd/govim: implement Implements in gopls (#831) ed2a97a7

gopls changes

Details in the comparison https://github.com/golang/tools/compare/63da46f3035e...2212a7e161a5

  • deps: update x/tools and gopls to 2212a7e1 (#873) 3d10ebe5
  • deps: update x/tools and gopls to 4b814e06 (#865) 00e6a70b
  • deps: update x/tools and gopls to 9ee5ef7a (#851) dd56e8b6
  • deps: update x/tools and gopls to a3568bac (#849) d035992a
  • deps: update x/tools and gopls to 44c82bac18ac (#845) 281246ed
  • deps: update x/tools and gopls to 9fc00b0a (#841) f8f95fbd
  • deps: update x/tools and gopls to 09944062 (#832) 4980215f

Major bug fixes

None

Other (including bug fixes)

  • ci: update latest Vim to v8.2.0735, and Go to 1.14.2 and 1.13.10 (#874) 8c4bca59
  • cmd/govim: only doautoall on govim events (#871) 8dbe91b5
  • deps: upgrade github.com/creack/pty to v1.1.10 to fix Go1.15 issue (#870) 6b50ea78
  • cmd/govim: fix completion candidate additional text edits for dups (#868) 24b23d2f
  • cmd/govim: allow duplicate items in completion candidates (#866) e10617c6
  • cmd/govim: refactor (*vimstate).locationsToQuickfix->locationToQuickfix (#861) 76202c1d
  • cmd/govim: refactor current cursor position (#856) 229e2537
  • cmd/govim/internal/types: add Buffer() method to Point (#859) 0eb93869
  • cmd/govim/internal/types: add PointFromOffset (#860) 97f9177e
  • cmd/govim/internal/types: refactor into multiple files (#858) 1986dfdf
  • cmd/govim: move batch logic to separate file (#855) 1689c938
  • cmd/govim: do not remove highlights on delta when auto-highlighting (#857) 9c78a055
  • cmd/govim: persist highlights for explicit GOVIMHighlightReferences call (#852) 3139f797
  • cmd/govim: add ExperimentalWorkaroundCompleteoptLongest config option (#853) 6e36a449
  • all: make TODOs consistently commented as "TODO: ..." (#850) 0747e89f
  • cmd/govim: tidy-up refactor (#847) 8ef9929b
  • cmd/govim: fix index out of range bug when flipping back to diagnostics (#840) 0e9dda51
  • cmd/govim: remove testdata directories from golang.org/x/tools "vendor" (#844) 0c3dd98c
  • cmd/govim: remove initialization options since they are outdated (#843) 80f0949c
  • cmd/govim: add experimental autoread loaded buffers support (#826) 4a6a4f85
  • cmd/govim: echoerr when user tries to load using a bad version of Vim (#838) 200cdf88
  • cmd/govim: flush pending deltas before handling callbacks from vim (#834) c6fbe06c
govim - v0.0.30

Published by myitcv over 4 years ago

Thanks to @leitzler, @stamblerre and @tjcain for contributing towards this release.

Breaking changes

None

Major enhancements

  • cmd/govim: provide env var to limit gopls CPU consumption (#791) b989e956
  • cmd/govim: add support for manually triggered reference highlight (#782) 10111c20
  • cmd/govim: add reference highlighting when used goes idle (#741) 83e6313d
  • cmd/govim/config: promote ExperimentalTempModfile to TempModfile (#771) 761b8365

gopls changes

Most notable in this release is that gopls now supports multiple concurrent clients (https://github.com/golang/go/issues/34111). For details see:

https://github.com/golang/tools/blob/63da46f3035e/gopls/doc/daemon.md

Other highlights include:

  • gopls/doc: update daemon.md and remove 'experimental' caveats c312e987
  • internal/lsp/source: support completing "range" keyword 11ec4145
  • internal/lsp: support textDocument/formatting for .mod extension 136c3617
  • internal/lsp/source: support inverse "implementations" ae0473a2
  • internal/lsp: support textDocument/hover for .mod extension abb57c68
  • internal/lsp: support textDocument/documentLink for .mod extension 48cfad2f
  • gopls: update staticcheck to 2020.1.3 042d10a1
  • gopls: update Staticcheck to 2020.1.2 57f3fb51

Here is the full list of gopls changes since the last govim release:

https://github.com/golang/tools/compare/61798d64f025...63da46f3035e

Major bug fixes

None

Other (including bug fixes)

  • cmd/govim: fix complete_watched in preparation for gopls change (#833) db2f5323
  • govim: move plugin errorchan read to avoid data race (#829) 4744627b
  • govim: move plugin errorchan read to avoid deadlock (#828) b786c5aa
  • cmd/govim: safely handle busy state changes for non-.go buffers (#823) 30f22929
  • cmd/govim: fix "next" motion key mappings for top-level declarations (#820) 56e86d72
  • cmd/govim: remove one of the file watchers (#819) 907afa73
  • testsetup: rename GOVIM_DETECT_USER_BUSY -> GOVIM_DISABLE_USER_BUSY (#812) 5d6bd957
  • cmd/govim: fix handling of changed diagnostics from gopls (#811) 097679ef
  • cmd/govim: handle nil response to Hover (#816) 9f087583
  • ci: disable flakey macOS builds until we have time to investigate #781 (#815) 2d6e2fb0
  • all: back-out changes to track all buffers (#809) 8926deca
  • ci: upgrade to go1.14, go1.13.8 and Vim v8.2.318 (#803) c7ecca29
  • cmd/govim: workaround BufWinEnter without BufNew bug (#802) bfc288d9
  • cmd/govim: handle buffer name changing in BufWinEnter (#798) 7280cf3f
  • cmd/govim: fix embarrassingly bad bug in buffer listener reset (#797) 39789a36
  • cmd/govim: verify turning off unimported completions works (#796) 9f146506
  • cmd/govim: move unimported completion tests to scenario_default (#793) ec0360d5
  • cmd/govim: track all buffers in govim (#784) 8826ef5f
  • cmd/govim: switch ftdetect for go.mod files to be *.mod (#792) a8c47c63
  • cmd/govim: remove govim workaround for Configuration loading (#790) 60ac92c0
  • cmd/govim: add support for loading an initial file in testscript tests (#785) b0f31f28
  • govim: synchronise access to out *json.Encoder (#786) afb9c20e
  • cmd/govim: Suppress "invalid buffer" errors when placing signs (#780) 974cf811
  • cmd/govim: refactor batch call/expr handling (#770) 4a614fd9
  • ci: use 30m timeout for darwin CI test (#778) 9de9ef5f
  • ci: remove errant RACE_BUILD env var in workflow config (#769) 14f2f32b
  • cmd/govim: add test for racey cmd/go updates per golang.org/issues/37164 (#742) 3fa767fb
govim - v0.0.29

Published by myitcv over 4 years ago

Breaking changes

None

Major enhancements

None

gopls changes

  • deps: upgrade x/tools and gopls to 61798d64 (#765) 16ac89e1

Includes a fix for unexpected parse mode panic

Major bug fixes

The gopls change above.

Other (including bug fixes)

  • cmd/govim: add tests for gopls features where files are initially empty (#727) c9e33fa6
  • cmd/govim: add a test that verifies things generally work for cgo (#429) 44ba56e3
  • ci: first cut of running tests on macOS (#746) 9925c13f
  • cmd/govim: test the setting of GoplsEnv with build tags in GOFLAGS (#595) a300cd48
  • cmd/govim: unskip scenario_default/quickfix_new_files testscript test (#716) 4f5867fc
  • cmd/govim: unskip scenario_completeunimported/complete_new_file test (#717) 638a8eeb
  • ci: Ensure that artifacts are created and not overwritten (#764) b4876970
govim - v0.0.28

Published by myitcv over 4 years ago

Thanks to @leitzler and @findleyr for contributing towards this release.

Breaking changes

None

Major enhancements

  • cmd/govim: add config for defining the gopls environment (#583) ab2220c5

Used to define the environment for a workspace. e.g. to use an alternative go.mod file:

govim#config#Set("GoplsEnv", {"GOFLAGS": "-modfile=go.local.mod"})

gopls changes

  • deps: upgrade x/tools and gopls to 6fdc5776 (#762) 37000c21
  • deps: upgrade x/tools and gopls to 6e8b36d2 (#757) 897d5a4d
  • deps: upgrade x/tools and gopls to fe90550f (#745) 7cf7f313
  • deps: upgrade x/tools and gopls to 2f3ba24b (#743) f8cc422b
  • deps: upgrade x/tools and gopls to 207d3de1 (#733) 4128a866
  • deps: upgrade x/tools and gopls to 345141a3 (#731) f83a4675

Major bug fixes

  • cmd/govim: fix embarrassingly bad bug in completion textedit handling (#754) 89f6339b

Other (including bug fixes)

  • cmd/govim: fix darwin file system watcher event check (#760) 5cfafa06
  • ci: upgrade to go1.14rc1 and Vim v8.2.0213 in the build matrix (#758) b7d5290f
  • ci: add branchCheck to postRun script (#756) faf4593f
  • ci: use official GitHub artefacts collection (#753) a835248d
  • cmd/govim: switch to the didChangeWatchedFiles API (#748) fc0e07fd
  • ci: use specific commits of actions (#752) 886a3c60
  • cmd/govim: really ensure go-to-def tests have stable go.mod files (#750) 58660e57
  • ci: do not fail-fast on failures (#747) 49827488
  • cmd/govim: ensure go-to-def tests have stable go.mod files (#736) e5653c8e
  • tests: add testsetup.RaceSlowndownFactor (#740) 11bcb818
  • cmd/govim: extract text property removal to own func (#737) 0465c13f
  • ci: move to GitHub actions (#744) 59ef3d67
  • cmd/govim: test introducing diagnostics in directory replaced deps (#738) 484c2d14
  • tests: add testscript condition for issues (#739) 7896dafe
  • cmd/govim: add completion tests for std lib and module cache definitions (#729) 01c8f58e
  • ci: enable gopls verbose logging for CI runs (#734) c93f0cd5
  • ci: tag docker :latest-vim on CI master builds (#725) 9cecc52e
  • cmd/govim: add a test that renames an identifier in another package (#726) 8963c002
  • cmd/govim: add go-to-def tests for std lib and module cache definitions (#728) 342bc74f
  • cmd/govim: Ensure text prop highlights aren't placed when disabled (#730) 60a14302
govim - v0.0.27

Published by myitcv over 4 years ago

Thanks to @leitzler, @cespare and @findleyr for contributing towards this release.

Breaking changes

  • cmd/govim: split config.FormatOnSaveGoImports into component parts (#721) 013f992e

Major enhancements

  • cmd/govim: add config ExperimentalTempModfile (#634) 8f4859d1
  • cmd/govim: add diagnostics to hover popup (#693) 2dd3699d (with thanks to @leitzler)
    • You can now hover over an error to see the diagnostic message
  • cmd/govim: apply AdditionalTextEdits on CompleteDone (#674) 9597d2b2
    • Unimported completions are now enabled by default. When selecting a candidate from an unimported completion, the required import is added. See the wiki for more information
  • cmd/govim: allow user defined signs (#643) 6236474c (with thanks to @leitzler)
  • cmd/govim: add syntax and indent for go.mod files (#620) acb0572f (with thanks to @cespare)
    • Makes editing go.mod files considerably more sane
  • cmd/govim: highlight diagnostics (#579) 93fa47f0 (with thanks to @leitzler)
    • In addition to signs showing you the position of errors in the gutter, we now highlight the actual error itself inline

gopls changes

The main focus of gopls changes since the last govim release has been stability and correctness. Thanks to @stamblerre and everyone who contributes to gopls for the work that has gone into the ~360 commits over that time.

  • deps: upgrade x/tools and gopls to 8fe064f8 (#713) bb606baa
  • deps: upgrade x/tools and gopls to d456b1cd (#706) 67ccd2da
  • deps: use temporary fork of x/tools and gopls (#689) c7a6cc37
  • deps: upgrade x/tools and gopls to 0cba7a3a (#675) d80f0e21
  • deps: use temp fork of x/tools and gopls to 53017a39 + 11e9d9cc (#660) afa4918a
  • deps: upgrade x/tools and gopls to 774c71fc (#652) 11eb9c75
  • deps: upgrade x/tools and gopls to f13409bb (#640) 2c6e7baf
  • deps: upgrade to gopls and x/tools 5e752206 (#584) 29ba8dca
  • deps: use cherry pick of CL 210077 for memoize race fix (#611) e3249f8f

Other (including bug fixes)

  • cmd/govim: support GOVIM_USE_GOPLS_FROM_PATH=true for tests (#720) bb7b1345
  • cmd/govim: fix a rogue use of getqflist in a testscript test (#723) 4d98be2c
  • ci: update latest vim to v8.2.0151 (#722) fbb80cde
  • cmd/govim: make all error/warning message checks identical (#712) 4b70552a
  • cmd/govim: provide env var to turn on gopls verbose output (#718) 9eb5c459
  • testdriver: do not try to copy symlink files (#719) e97ea350
  • testdriver: add common test functions (#715) df220b85
  • ci: tidy up go.{mod,sum} (#714) f46ac1b4
  • github: add @leitzler to funding.yml (#710) 1443e43d
  • cmd/govim: skip empty text edits (#708) f51f8d10
  • cmd/govim: add testscript tests for new files not on disk (#699) 1eb9311c
  • cmd/govim: reenable test that stresses golang/go#36144 (#684) 96e61d22
  • govim: make testscript tests truly concurrent (#704) 355ece10
  • ci: notify when the master build goes green (#705) 57bc06eb
  • cmd/govim: skip flakey test for GVim v8.1.1711 (#703) 71384426
  • cmd/govim: ensure that GOPATH is in a hidden directory (#702) ca3f52dd
  • cmd/govim: leaving userbusy always updates text property highlighs (#700) de8e9ace
  • cmd/govim: by default don't detect if user is busy in testscript scripts (#694) 9fe88069
  • cmd/govim: add test for quickfix errors in dependencies (#326) 921c3642
  • cmd/govim: make testscript scripts truly concurrent (#691) 57e94a35
  • ci: add a CI environment variable to run race tests for pull requests (#690) 0876ba34
  • cmd/govim: improve skip messages in testscript tests (#681) cd2d2932
  • testdriver: add vimexprwait to simplify wait assertions (#678) f036f119
  • ci: properly separate artefacts for race builds in all places (#679) 3112437b
  • scripts: add captureLogs.sh to easily run tests and capture all logs (#677) 28f9f8f8
  • testing: revert GOTMPDIR hack for setting testscript workdir root (#673) 309f57bd
  • cmd/govim: change log file template to default to .log files (#671) 29461d37
  • cmd/govim: Do not increase version if buffer content didn't change (#665) 676bb763
  • ci: fix master cron build to drop replace directives (#664) 4208a980
  • cmd/govim: fix GOVIMQuickfixDiagnostics command (#662) c4bb087a
  • tests: fix diagnostic assertions in our tests (#653) dfabc260
  • cmd/govim: create a test demonstrating failing completion (#659) 0e63668b
  • tests: create gists from artefacts (logs) of failed CI tests (#650) 854efaeb
  • cmd/govim: make user busy autocmd nested (#654) 7e59ad09
  • ci: fix simple bug in dockerRun script and Travis config (#651) 82216f10
  • cmd/govim: tighten up quickfix config tests (#646) 419444da
  • cmd/govim: use github.com/rogpeppe/go-internal/gotooltest in tests (#639) 8201bdf2
  • ci: add go1.14beta1 and Vim v8.2.0025 to the build matrix (#635) d5a3cdeb
  • testdriver: limit listening to local interface (#636) 9074258f
  • cmd/govim: put install scripts tests behind env var (#632) 63ce556b
  • deps: upgrade to github.com/rogpeppe/[email protected] (#630) 3376e910
  • tests: add a -gopls flag for scenario tests in cmd/govim (#629) 7adec67c
  • cmd/govim: fix scripts-with-gopls-from-path tests (#627) db940292
  • ci: run goimports on our code and ensure it remains well formatted (#628) 62405034
  • deps: switch to github.com/creack/pty (#625) 98f32166
  • cmd/govim: use visual positions for diagnostics (#567) e0fe1998
  • testdriver: fix flakely parsing of version from vim --version output (#624) b900be6f
  • testdriver: expose max errlogmatch wait time (#621) 393cb5a4
  • cmd/govim: implement LSP DidSave (#618) d1c7a12f
  • ci: go1.13.5, go1.12.14 and latest Vim v8.1.2414 (#617) 8f8ccc4a
  • tests: define a default value for errlogmatch -wait flag (#614) 389fe5de
  • tests: establish known quickfix buffer number in testscripts tests (#613) 55677e13
  • cmd/govim: fix various diagnostic, quickfix and sign issues (#608) bf032106
  • cmd/govim: add concept of user config in test overrides (#606) 30eab521
  • govim: use a single tomb (#610) 91feb213
  • govim: debug error where we call Go on an already dead tomb (#602) 0b4b110d
  • all: hide home directory in script tests (#605) 6f5e25a7
  • cmd/govim: place signs for existing diagnostics in new buffers (#590) 47575640
  • cmd/govim: properly format messages that we are asked to show by gopls (#599) 2983b2f8
  • cmd/govim: add support for goimports -local equivalent config (#571) dc7ed8ed
  • cmd/govim: fix Shutdown() sequence to close gopls (#600) 5e95efbf
  • cmd/govim: fix race on govim configuration (#601) 70394e48
  • cmd/govim: starting watching changes to go.mod again (#594) c71e3b0a
  • cmd/govim: block govim initialisation until post Configuration call (#593) 2db04e59
  • cmd/govim: add goproxytest proxy server (#592) d91834a1
govim - v0.0.26

Published by myitcv almost 5 years ago

Breaking changes

None

Major enhancements

  • cmd/govim: add config option for CompleteUnimported (#581) 208548b0

We incorrectly announced support for completion of unimported standard library packages in v0.0.25: the gopls changes were in place, but the govim config changes were not merged. That is now fixed in this release, and documented in the wiki.

Bug fixes

  • deps: upgrade to gopls and x/tools 95cb2a1a7eae (#588) 806674b9

Per https://github.com/govim/govim/issues/586#issuecomment-555424067, we unfortunately missed a gopls bug in our govim tests because the test in question was skipped pending the resolution of another gopls bug! We are now tracking all of these version-related bugs under the umbrella of https://github.com/govim/govim/issues/591

Apologies, this meant we released a relatively unstable version of govim.

Other

  • cmd/govim: refactor diagnostics handling to use lazy conversion (#585) 5deab50f
  • cmd/govim: trigger gopls.DidConfigurationChange on config change (#582) 5fc2643f
  • deps: upgrade to gopls and x/tools 323f198c (#580) ab219cb4
govim - v0.0.25

Published by myitcv almost 5 years ago

Breaking changes

As previously noted in https://github.com/govim/govim/issues/292#issuecomment-534042440:

  • cmd/govim: move to positive options and move defaults to constructor (#538) c28f9fbf

Major enhancements

  • support for completions of unimported packages (via (#568) 3e67373a)
  • cmd/govim: add suggested fixes via popup (#532) ada420b2
  • cmd/govim: add config to enable staticcheck within gopls (#542) c2ebef49

Support for goimports -local-like behaviour is still pending in https://github.com/govim/govim/pull/571

A big thank you to @leitzler for the work behind the suggested fixes support!

Minor enhancements

Bug fixes

Numerous bug fixes, most notably in gopls (across a number of commits where we upgraded golang.org/x/tools / golang.org/x/tools/cmd/gopls):

  • fix a number of race conditions
  • fix handling of packages that have external tests
  • fix critical memory issue
  • add more caching of analysis results (including staticcheck)

Other

  • deps: upgrade to gopls and x/tools 97ad0ed3 (#578) 59308f1b
  • cmd/govim: add highlights for all LSP severities and use them for signs (#564) b3f4afe3
  • cmd/govim: keep track of if buffers are "Loaded" or not (#573) 2a8f2b47
  • scripts: Add darwin support to revendorToolsInternal (#563) 07bae2e2
  • deps: upgrade to gopls and x/tools f79515f3 (#572) e1f0403a
  • cmd/govim: workaround flake in suggested_fixes test (#570) e36394b7
  • ci: Go 1.12.13, 1.13.4 and latest Vim v8.1.2253 (#569) 412530a9
  • deps: upgrade to gopls and x/tools dc038396 (#568) 3e67373a
  • deps: deps: upgrade to gopls and x/tools 8dbcdeb8 (#565) 07d2b758
  • deps: upgrade to gopls and x/tools b2a7f28a (#561) eae05a55
  • ci: upgrade to latest Go 1.12 and 1.13 versions; add latest Vim (#558) e2ffd405
  • deps: upgrade to gopls and x/tools 4414aad1 (#552) c8101d35
  • deps: upgrade to gopls and x/tools a8d5d342 (#548) 45380c45
  • deps: upgrade to gopls and x/tools ea99b82c7b93 (#547) 23bb5afb
  • govim: use Vim's new SafeState* and state() to schedule work (#533) df7d4c29
  • cmd/govim: tidy up Vim-side validation (#544) 179235b0
  • cmd/govim: switch to better testscript structure (#543) 20259701
  • govim: handle shutdown within Schedule (#545) 87fb767e
  • deps: upgrade to gopls and x/tools 59c6680fe2c1 (#541) 870aaeb5
  • cmd/govim: refactor diagnostics handling (#534) d914ef43
govim - v0.0.24

Published by myitcv about 5 years ago

Breaking changes

  • cmd/govim: update minimum required Vim version to v8.1.1711 (#501) 63eec53d

As of v0.0.24, Vim version v8.1.1711 is required.

Major enhancements

  • govim: refactor the way we schedule work in Vim (#523) e8054412
    • should increase the stability of govim, all other things being equal
  • cmd/govim: add info popup config to minimal.vimrc; add minimal.gvimrc (#515) 891d0650
    • suggests a potential config for people who want to see completion-time candidate documentation
  • cmd/govim: completion options to disable fuzzy or deep matching (#512) cf73a6f0
    • deep fuzzy matching is the new default
  • cmd/govim: show popup when MessageType is Error (#508) 60a9765b
    • when gopls needs to show a message, show error messages using popups
  • cmd/govim: provide advanced env var to use gopls from PATH (#514) 8f2f37d4
    • this comes with zero warranty 😄

Bug fixes

  • cmd/govim: only handle organizeImports in format CodeAction response (#528) 09dff066

Other

  • deps: upgrade to gopls and x/tools 3720d1ec (#524) 1391094d
  • all: drop any references to now-old Vim versions (#526) 0361326c
  • all: drop any references to now-old Vim versions (#525) 01d4e824
  • deps: upgrade to gopls and x/tools dd2b5c81 (#521) ae69b43a
  • deps: upgrade to golpls and x/tools fef9eaa9 (#517) 230f0855
  • ci: never notify for successful builds, only notify on failure (#513) 40a41492
  • deps: update rogpeppe/go-internal to v1.3.2 (#511) 5142cedf
  • ci: run against gopls and x/tools master for when master run via cron (#504) 9a01b28c
  • cmd/govim: prevent non-batch calls being called when in batch (#509) 3c7107b2
  • cmd/govim: properly capture error message when ioutil.TempFile fails (#503) 74faeda6
  • all: update remaining references from myitcv/govim to govim/govim (#500) 19e6c5ee
  • cmd/govim: fix incorrect motion mapping (#499) 8bd9725e
govim - v0.0.23

Published by myitcv about 5 years ago

Breaking changes

  • ci: move from module github.com/myitcv/govim to github.com/govim/govim (#498) 4524dadf

As of v0.0.23, govim has a new module path: github.com/govim/govim. Versions <= v0.0.22 use the module path github.com/myitcv/govim.

Major enhancements

  • deps: x/tools and gopls 4f238b92 (#487) 6961210f
  • cmd/govim: add an initial cut of support for motions (#398) dea863fe

The gopls and x/tools upgrades contain a significant number of improvements and bug fixes; the list of those is listed in the commits above.

Bug fixes

  • cmd/govim: add separate watcher for darwin (#477) d24847fa
  • cmd/govim: do not create a popup if there is a zero Hover response (#493) b98e3eb4
  • cmd/govim: de-dupe quickfix diagnostics and retain selected index (#476) 956c1ebc
  • test: fix false positives in testscripts (#479) 3d166ac5
  • cmd/govim: tidy up and fix initial GOVIMStringFn implementation (#469) 553dc2d4
  • plugin: govim.vim: fix env var (#470) 9ad6148d
  • cmd/govim: fix setting GOBIN during install (#448) 46c284f4
  • avoid non-batch calls in batch (#439) b15ac0a9

Other

  • deps: upgrade to golpls and x/tools 59228eac (#497) aaafc145
  • cmd/govim: disable testscript checks for the number of errors (#494) 46ffc9c3
  • test: update Go versions (#480) 0d81777c
  • fix flake in signs testscript (#457) b6bbbaec
  • Revert "fix flake in signs testscript" 39e42ea6
  • fix flake in signs testscript 8adad8da
  • govim: add instance id to logs (#455) 2215620b
  • cmd/govim: maintain an AST per buffer (#397) 809b1620
  • ci: once again fix email notifications (#451) 44315441
  • ci: try to fix notification email with new secret (#450) 10592d02
  • flake fix in goimports testscript (#447) 15d9dd3a
  • ci: configure email notifications for all failures (#446) ecc1d8d0
  • tests: Fix flaky signs & quickfix config tests (#436) 7e1c6bf7
  • update errlogmatch logic (#435) a340ba59
  • cmd/govim: expand the set of sensible out-of-the-box defaults (#432) 64e917af
  • cmd/govim: switch default hover popup to place above-and-to-the-right (#431) 16226451
  • deps: x/tools and gopls e98af2309876 (#423) 227ae109
  • cmd/govim fix test failures for scripts that use test_setmouse (#418) e8e319b0
  • cmd/govim: add signcolumn=yes to minimal vimrc (#413) 0404c34f
  • cmd/govim: attempt to fix format-related flakes (#410) b7a1ffe9
  • internal/plugin: tidy up shutdown errors (#409) 2595f1d4
  • prepopulate mod cache before using it as proxy (#405) 982c9d41
  • cmd/govim: add QuickfixSignsDisable config (#399) 54b65c8c
  • scripts: fix GOPATH in runDockerRun.sh (#400) 7034f5a6
  • cmd/govim: move cmd/govim/types to cmd/govim/internal/types (#402) 64aa0189
  • cmd/govim: move tools "vendor" to cmd/govim/internal/golang_org_x_tools (#401) 2fb3104f
  • cmd/govim: fix bug handling edits at end of files (#396) c5cd10ff
govim - v0.0.22

Published by myitcv over 5 years ago

Major enhancements:

  • cmd/govim: add signs to quickfix entries 986a6fb3 - in addition to the quickfix window automatically being populated with error diagnostics reported by gopls, if you have have signcolumn set to either auto, yes or number then you will get error indicators on the left of a window for lines which have errors
  • cmd/govim: initial cut of GOVIMStringFn command 73268b0a - GOVIMStringFn is a command that replaces buffer text with the result of applying a sequence of transformation functions. For example :GOVIMStringFn crypto/sha256.Sum256 encoding/hex.EncodeToString. See the message of https://github.com/myitcv/govim/commit/73268b0a219c16fe5507068839279f622cd7e72c for more details.
  • cmd/govim: initial cut of rename 67f7ac9b - GOVIMRename allows you to rename the identifier under the cursor. For now the scope of renames is limited to the current package (this is a gopls limitation, like GOVIMReferences)

Breaking changes:

  • #377 increases the minimum version of Vim required for delta-based buffer updates to v8.1.1711. This is only a breaking change in so far as people relying on the delta based buffer updates will need to upgrade Vim

Notable bug fixes/other:

  • cmd/govim: improve efficiency of format changes 530e292f
  • cmd/govim: fully sort quickfix entries 0346d4df
  • cmd/govim: use winid instead of winnr for hover placement 5fe1c967
  • cmd/govim: add padding to default hover popup window ff9b0c5d
  • cmd/govim: provide an experimental config option for popup options c79efa9a
  • cmd/govim: always show definition in GOVIMReferences first f150603d

gopls/deps updates:

  • deps: x/tools and gopls e98af230 d1d1b8cb
  • deps: upgrade to Vim v8.1.1711 and go1.12.7 and go1.13beta1 e1267481
  • deps: x/tools and gopls fefcef05abb1 8e8a6844
  • deps: bump Vim version required for popups to v8.1.1657 e73869a1
  • deps: x/tools and gopls dd7c7173f160 b400a2f5

Other:

  • govim: fix simple bug in DefineCommand creating pointer from loop var a5761618
  • testdriver: fix malformed logging commands; drop deadlines 135fca98
  • cmd/govim: properly implement handling of []protocol.TextEdit cf708d97
  • cmd/govim: fix bug where handling of buffer reload loses buffer info 675aebd0
  • cmd/govim: replace batching implementation with something more robust a3293fba
  • cmd/govim: fix the definition of commands that can take args d0b345d3
  • cmd/govim: tidy up test definitions a156cc58
  • ci: configure Travis to only build pushes to master 9eabb8c3
  • ci: optimise CI runs for [WIP] PRs and add CI_MUST_RUN config option 26d217bf
  • cmd/govim: add a test for when a new file is created from a new buffer f144eb7b
  • cmd/govim: fix bug in use of user provided hover popup options fb3b99d1
  • cmd/govim: fix hover when nothing to show f84d4bb7
  • cmd/govim: fix bug for large batches 2848a08d
  • cmd/govim: support batching of function calls to Vim bcba0c82

Thanks:

  • Huge thanks to @leitzler for working on #390
govim - v0.0.21

Published by myitcv over 5 years ago

Enhancements:

  • cmd/govim: use popup windows for hover details if Vim >= v8.1.1649 (#350)

gopls version upgrades:

  • deps: x/tools and gopls 72ffa07ba3db (#336)

Bug fixes:

  • cmd/govim: fix completion menu items (#340)
  • deps: update to v8.1.1640 for terminal balloon fix (#335)
  • cmd/govim: prevent diagnostics overwriting references (#319)
  • cmd/govim: fix poor bug in sorting of references (#316)

Other:

  • cmd/govim: tidy up; no code changes (#348)
  • cmd/govim: do not embed vimstate in govimplugin (#347)
  • govim: fix ChannelCall error log format (#343)
  • govim: improve testdriver debugging logging (#236)
  • cmd/govim: add test to verify quickfix errors around EOF (#337)
  • deps: update latest Vim to v8.1.1608 (#323)
  • govim: fix shutdown bug in Schedule (#324)
  • deps: honnef.co/go/tools v0.0.0-20190614002413-cb51c254f01b (#313)
  • cmd/govim: fix test failures when -govimLog is set (#310)
  • govim: use v:longversion in Vim for more precise version number (#305)
govim - v0.0.20

Published by myitcv over 5 years ago

Enhancements:

  • cmd/govim: tidy up logging of logfile locations, install notifications (#303)

Bug fixes:

  • cmd/govim: prevent double load when using Vim8 packages (#302)
  • cmd/govim: minor fixes (#299)

The detail of #299 is worth of expansion:

  • Log to a specific gopls logfile
  • Only do ftplugin-based configuration once govim has loaded
  • Prevent race condition on autocmd events possibly being handled before govim is initcomplete
  • Use Vim's execute() function instead of our own terrible function
  • Put in a hacky fix for local-aware version parsing; add a test for a non-English version string

Minor changes:

  • cmd/govim: make gofmt and goimports tests less brittle (#304)
govim - v0.0.19

Published by myitcv over 5 years ago

Enhancements:

  • cmd/govim: add GOVIMReferences command for gopls References method (#291)
  • deps: use the newly minted golang.org/x/tools/gopls module (#298)
  • cmd/govim: only update quickfix when user is not busy (#294)

Bug fixes:

  • cmd/govim: client should not reject messages if queue is overloaded (#295)

Minor:

  • cmd/govim: tell gopls to -rpc.trace (#296)
  • deps: golang.org/x/tools v0.0.0-20190611222205-d73e1c7e250b (#262)
  • deps: use latest pty in order to allow working with Go tip (#288)
  • ci: update minimum version required for incremental buff updates (#285)
govim - v0.0.18

Published by myitcv over 5 years ago

Enhancements

  • cmd/govim: better model for handling syntax errors (#276)

Bug fixes

  • cmd/govim: de-dupe PublishDiagnostics notifications from gopls (#282). Note however, that #280 remains an issue (because of the linked gopls issue)
  • cmd/govim: small tidy ups and fixes (#271)
govim - v0.0.17

Published by myitcv over 5 years ago

Bug fixes

  • cmd/govim: fix shockingly bad buffer caching bug (#270)
govim - v0.0.16

Published by myitcv over 5 years ago

Bug fix

  • cmd/govim: make GoFmt and GoImports non-range based for now (#269)