Releases: govim/govim
v0.0.35
What's Changed
- cmd/govim: check quickfix list origin before update by @tbruyelle in #1058
- deps: update x/tools and gopls to d7a25ada by @myitcv in #1061
- cmd/govim: fix shutdown sequence by @myitcv in #1062
- deps: update x/tools and gopls to 63ea654b by @myitcv in #1065
- cmd/govim: make logging configurable by @myitcv in #1064
- general: fix gitattributes by @myitcv in #1066
- cmd/govim: do not watch file system when there is no module root by @leitzler in #1068
- cmd/govim: extend GOVIM_LOG to accept multiple commaseparated values by @leitzler in #1069
- deps: update x/tools and gopls to 8c34cc9c by @myitcv in #1071
- cmd/govim: workaround golang/go#45377 by @myitcv in #1072
- Support DirectoryFilters config option for gopls by @bbrodriges in #1020
- deps: update x/tools and gopls to 0243799c by @myitcv in #1074
- cmd/govim: do not wait more than 500ms for gopls Shutdown by @myitcv in #1075
- cmd/govim: refactor file watching by @leitzler in #1057
- deps: update x/tools and gopls to f946a157 by @myitcv in #1076
- deps: update x/tools and gopls to aec13729 by @myitcv in #1077
- deps: update x/tools & gopls to c0140e85 by @leitzler in #1078
- deps: update x/tools & gopls to 8f301ca0 by @leitzler in #1079
- deps: update x/tools & gopls to 49064d2 by @leitzler in #1080
- deps: update x/tools & gopls to 40613125 by @myitcv in #1081
- deps: update x/tools & gopls to a3eb095d by @myitcv in #1082
- deps: update x/tools & gopls to 5ab822f6 by @myitcv in #1084
- cmd/govim: update reference to gopls analyzer documentation in config.go by @leitzler in #1085
- deps: update x/tools & gopls to 1225b6f5 by @leitzler in #1087
- cmd/govim: use span.URI.Filename() when handling filenames by @myitcv in #1088
- cmd/govim: fix test failures with Go 1.17 by @myitcv in #1089
- cmd/govim: adapt to changes in Vim v8.2.3019 by @myitcv in #1090
- deps: update x/tools and gopls to f0847e0c by @leitzler in #1091
- deps: update x/tools and gopls to 69948257 by @leitzler in #1092
- deps: update x/tools and gopls to 07bc1bf4 by @myitcv in #1094
- testdriver: simplify condition version logic by @myitcv in #1098
- cmd/govim: adapt to Vim v8.2.3233 changes by @myitcv in #1097
- deps: upgrade LatestVim to be v8.2.3249 by @myitcv in #1096
- deps: update x/tools and gopls to 3395cb03 by @myitcv in #1099
- deps: update x/tools and gopls to 7bc3c281 by @myitcv in #1100
- deps: update x/tools and gopls to bf6c7f26e9f0 by @leitzler in #1101
- deps: update x/tools and gopls to 3b801c8b by @leitzler in #1102
- plugin/govim: drop .log suffix on vim channel log by @leitzler in #1103
- deps: update x/tools and gopls to 7559231e by @leitzler in #1106
- testdriver: fix data race introduced in #1101 by @leitzler in #1105
- ci: update go and vim versions by @leitzler in #1107
- cmd/govim: support multi-lined diagnostics in hover by @leitzler in #1109
- deps: update x/tools, gopls to 6d1e33f1 and go-internal to 86f73c51 by @leitzler in #1110
- deps: update x/tools and gopls to 13c407cf by @leitzler in #1113
- plugin: fix "git rev-parse" when running under "git commit" by @mvdan in #1115
- deps: update x/tools, gopls to 98f6e039 and go-internal to 426834f3 by @leitzler in #1114
- deps: update x/tools and gopls to bcc6fa83 by @leitzler in #1116
- testdriver: add support for setting window height in vim during tests by @leitzler in #1117
- deps: update x/tools and gopls to 98f6e039 by @myitcv in #1120
- deps: update x/tools and gopls to 1e71a25a by @myitcv in #1121
- cmd/govim: Support setting gopls memory mode by @leitzler in #1124
- deps: update x/tools and gopls to c882a49eac7c by @leitzler in #1125
- deps: update x/tools and gopls to ee1ca4ff by @leitzler in #1128
- cmd/govim: handle multi-op fsevents by @leitzler in #1131
- _scripts: build docker images using --secret by @myitcv in #1129
- deps: update x/tools and gopls to 97de9ec46646 by @myitcv in #1132
- deps: use tip of staticcheck for go1.18 support by @myitcv in #1134
- all: add support for go1.18 by @myitcv in #1133
- cmd/govim: disable allowModfileModifications by default by @leitzler in #1136
- Deps tools 164402db by @leitzler in #1137
- deps: update x/tools and gopls to 897bd77c by @leitzler in #1138
- plugin: reinstall when Go version changes by @leitzler in #1140
- deps: update x/tools and gopls to e155b03a by @leitzler in #1141
- deps: update x/tools and gopls to 40370f8a by @leitzler in #1143
- cmd/govim: add support for go.work workspace by @leitzler in #1145
- deps: update x/tools and gopls to 87a86118 by @leitzler in #1146
- cmd/govim: use "g:"-prefix for global callbacks and filter by @leitzler in #1147
- cmd/govim: ignore signaturehelp requests for non-tracked buffers by @leitzler in #1148
- plugin: disable GOWORK during installation of gopls by @leitzler in #1149
- deps: update x/tools and gopls to 153e30b3 by @leitzler in #1150
- cmd/govim: add signaturehelp support for type parameters by @leitzler in #1151
- ci: update go and vim versions by @leitzler in #1152
- deps: update x/tools and gopls to 54c7ba52 by @leitzler in #1155
- deps: update x/tools and gopls to 0e859afa by @leitzler in #1157
- deps: update x/tools and gopls to 381ac87aa by @leitzler in #1158
- deps: update x/tools and gopls to 7404bd2ff by @leitzler in #1159
- deps: update x/tools and gopls to db8f89b39 by @leitzler in #1162
- govim: fix bug in passing of variadic args by @myitcv in #1161
- deps: update x/tools and gopls to b3851a823 by @leitzler in #1164
- deps: update x/tools and gopls to db6a62ca5 by @leitzler in #1166
- ci: update go version by @leitzler in #1167
- deps: update x/tools and gopls to dd1bab2d9 by @leitzler in #1169
- deps: update x/tools and gopls to a61f20e1a by @leitzler in #1170
- deps: optimise vendor of golang.org/x/tools(/gopls) internals by @myitcv in #1172
- deps: update x/tools and gopls to 19a5504ffc84 by @myitcv in #1173
- cmd/govim: sort edits before applying them by @adonovan in #1171
New Contributors
Full Changelog: v0.0.34...v0.0.35
v0.0.34
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) 01d412a
- cmd/govim: support quickfix code actions returning commands (#1026) a8b8ff2
gopls
changes
- deps: update x/tools and gopls to 376db572 (#1053) 2c8a2ba
- deps: update x/tools and gopls to f5a4005d (#1051) f3c5198
- deps: update x/tools and gopls to f3748ed8 (#1048) b670a89
- deps: update x/tools and gopls to 4b197900 (#1047) fc43d75
- deps: update x/tools and gopls to 68c7d11a (#1042) 79ce8a0
- deps: update x/tools and gopls to 51f72a19 (#1040) 2afc6a4
Major bug fixes
None
Other (including bug fixes)
- cmd/govim: set the user to not be busy when window focus is lost (#1045) 7365ab7
- ci: drop go1.14 from the build matrix (#1046) a44d12d
- ci: fix build by moving to Go 1.16 (#1043) fb8ed33
- test: re-enable quickfix_empty_files test (#1041) c8ad0d4
- cmd/govim: be more specific in our call to getbufinfo (#1039) b8a53c5
- cmd/govim: append working dir as PWD when calling go env GOMOD (#1036) 76ee86d
- cmd/govim: remove internal buffer on BufWipeout (#1037) cec2a53
- cmd/govim: do not add short-lived buffers during :vimgrep (#1034) 2d95013
v0.0.33
The main new feature in this release is GOVIMGoTest
, which allows you to run tests based on the cursor position. See ed5f0e3 for more details.
You can also configure gopls
to use gofumpt
as the formatter. See dac6f9c 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) 7bb65e2
- cmd/govim: add support for gofumpt as formatter (#1005) 57ae0ca
- cmd/govim: add "go test" popup highlighting (#997) f3f5b7f
- cmd/govim: add support for testing via gopls GOVIMGoTest (#974) 67804fe
gopls
changes
- deps: update x/tools and gopls to 842a9283 (#1031) 9b702de
- deps: update x/tools and gopls to db4c57db (#1021) a31027d
- deps: update x/tools and gopls to fe37c9e1 (#1018) e320576
- deps: update x/tools and gopls to 7339b0642069 (#1014) 40cdc63
- deps: update x/tools and gopls to ae774e97 (#1009) fbc47f7
- deps: update x/tools and gopls to fa10ef0b (#1006) 563f0b2
- deps: update x/tools and gopls to 368bee87 (#1003) 0d0e56d
- deps: update x/tools and gopls to 65435275 (#1002) 2c941ee
- Revert "deps: update x/tools & gopls to 299f270d (#993)" (#994) 0840922
- deps: update x/tools & gopls to 299f270d (#993) 41bd4d0
- deps: update x/tools and gopls to 598b068a (#989) 124bb90
- deps: update x/tools and gopls to 5794f8bd7a57 (#987) 1b85ff5
- deps: update x/tools and gopls to f46e4245 (#985) 5ecd028
Major bug fixes
None
Other (including bug fixes)
- cmd/govim: populate go.sum files for tests that use non-std packages (#1030) aad6894
- ci: add go1.16rc1 to the build matrix (#1024) 85542c1
- cmd/govim: remember previous position before GOVIMMotion call (#1022) 5e65049
- README: minor language tweaks (#1010) 245cb1a
- cmd/govim: fix panic when using custom hover opts "col" / "line" (#1013) 0bf3c9f
- Support "goimports-gofmt" value for FormatOnSave (#1011) 4c1364f
- cmd/govim: add new config that changes how last progress is opened (#995) 8761a60
- ci: use explicit version of Ubuntu on GitHub actions for now (#990) 89adc6c
- ci: drop use of set-env and add-path (#986) 1203460
v0.0.32
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) b0af0a3
- 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
- enables
- cmd/govim: improve qf index selection on update (#980) d026bae
- 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) 269cdde
- cmd/govim: add support for popups showing WorkDoneProgress (#932) 451994f
- cmd/govim: add "Toggle gc annotation details" feature (#923) 45e6de6
- calling
:GOVIMGCDetails
will toggle diagnostics that show Go compiler details such as escape analysis
- calling
- cmd/govim: add user enabled analyses configuration (#904) 4e77c85
- enables the possibility to pick which analyses to run in gopls
- cmd/govim: support multiple fillstruct edits (#897) a9a4fe3
- cmd/govim: add support for "fill struct" code action (#885) 219d6b3
- calling
:GOVIMFillStruct
will tell gopls to fill the structure beneath the cursor
- calling
- cmd/govim: add highlighting to signature help popup (#877) a4744a1
- current parameter is now shown in bold
gopls
changes
- deps: update x/tools and gopls to (#984) 7ee74c4
- deps: update x/tools and gopls to 8cd080b7 (#981) 90a0db5
- deps: update x/tools and gopls to 9cf592e8 (#979) 4b97529
- deps: update x/tools and gopls to b894a329 (#977) 6a5386b
- deps: update x/tools and gopls to 8c269738 (#973) 96e348a
- deps: update x/tools and gopls to fcf82128 (#970) c21c51e
- deps: update x/tools and gopls to 42b62fc9 (#959) a186170
- deps: update x/tools and gopls to d647fc25 (#955) 00139d7
- deps: update x/tools and gopls to 63098cc4 (#954) 6e352d4
- deps: update x/tools and gopls to 6ec2cde9 (#952) aa92da9
- deps: update x/tools and gopls to 64986481 (#947) a930a4b
- deps: update x/tools and gopls to acefd226 (#938) 9f55e9c
- deps: update x/tools and gopls to d1954cc86c82 (#935) baafdab
- deps: update x/tools and gopls to c8f39374 (#930) cc9fbe1
- deps: update x/tools and gopls to 9882f1d1 (#929) be5a1e7
- deps: update x/tools and gopls to 48a8ffc5 (#927) eaafd8b
- deps: update x/tools and gopls to ace63f8701f5 (#926) f1da9bb
- deps: update x/tools and gopls to 41a9f6dc6634 (#924) c3c12d9
- deps: update x/tools and gopls to b5fad4ed8dd6 (#921) ec7e481
- deps: upgrade x/tools and gopls to 6467de6f (#915) 728a6bd
- deps: upgrade x/tools and gopls to 1c30660f (#911) b911480
- deps: upgrade x/tools and gopls to 77f530d86f9a (#913) c6e168a
- deps: update x/tools and gopls to 6ddee643 (#908) beba233
- deps: update x/tools and gopls to 0cc1aa72b347 (#901) 15e2d7c
- deps: update x/tools and gopls to 7480c7b4 (#900) 0bbbc8c
- deps: update x/tools and gopls to 25775e59acb7 (#899) c535003
- deps: update x/tools and gopls to 0f592d27 (#896) f7d55af
- deps: update x/tools and gopls to b1f3cdd6 (#891) e2a1802
- deps: update x/tools and gopls to c1934b75 (#890) 1393ce8
- deps: update x/tools and gopls to 742c5eb6 (#887) 222b776
- deps: update x/tools and gopls to 3e83d1e96d0e (#886) 902485f
- deps: update x/tools and gopls to (#880) 5324d62
- deps: update x/tools and gopls to 8e7acdbc (#878) 77b672e
Major bug fixes
None
Other (including bug fixes)
- cmd/govim: rename "vimstate.popupWinId" to please staticcheck (#983) f0ff10e
- cmd/govim: fix overlap and formating issues in progress popups (#976) e92ab56
- cmd/govim: Log ShowMessage callbacks in a consistent way (#975) 64b2c7a
- cmd/govim: support multi-line progress messages in popup (#968) 39729ae
- cmd/govim: call didChangeWatchedFiles for go.sum files (#966) 1bed0ed
- cmd/govim: fix line-wise visual selection in GOVIMStingFn (#962) 6167fab
- cmd/govim: allow signature help for anonymous functions (#958) 047c05c
- cmd/govim/config: add SymbolMatcher and SymbolStyle config (#939) 2adbf3d
- cmd/govim: track go.mod files (#948) c881b40
- cmd/govim: log UnregisterCapability client calls (#951) 8ea5249
- ci: update build matrix to latest Go and Vim versions (#953) b2ebd8b
- cmd/govim: trigger AST parsing after applyProtocolTextEdits (#941) f35c26e
- Revert "cmd/govim: try to unskip tests skipped on golang.org/issues/39646 (#943)" (#944) 7fa79f7
- cmd/govim: try to unskip tests skipped on golang.org/issues/39646 (#943) c8c4a6f
- cmd/govim: try to unskip tests skipped on golang.org/issues/36789 (#942) b1c1c85
- deps: upgrade to github.com/rogpeppe/go-internal@v1.6.2 (#937) bab59a6
- cmd/govim: fix scheduling of work (#936) e163919
- ci: update to go1.15 (#928) 8dd1836
- ci: use go1.15rc2 (#925) f79beb4
- cmd/govim: drop test skip based on golang.org/issues/36745 (#917) c926e36
- cmd/govim: add envsubst command for testscript tests (#918) f3daabe
- cmd/govim: change test skip to be based on golang.org/issues/36880 (#919) a26a3bf
- cmd/govim: disable flaky quickfix_empty_files and modfile_changes tests (#920) f921f56
- cmd/govim: drop test skip based on golang.org/issues/36743 (#916) cbf66e7
- all: prepare for renaming master branch to main (#910) 8e423df
- ci: use go1.15rc1 (#912) 02d18f2
- test: move fillstruct test to scenario_fillstruct (#905) 3c78e51
- ci: fix Vim master build (#907) 54eb286
- ci: enable unstable (i.e. beta) go versions in vim master tests (#906) 086297e
- ci: add go1.15beta1 to the build matrix (#903) af559cf
- Revert "cmd/govim: use gopls serve command explicitly (#898)" (#902) e539edf
- cmd/govim: use gopls serve command explicitly (#898) ca39b23
- ci: fix Vim master build Go version (#883) 968e9a5
- deps: upgrade Vim latest to v8.2.0931 and Go to go1.14.4 and go1.13.12 (#882) 8ea5adf
- ci: test Vim master every 24 hours (#881) c714da2
v0.0.31
Thanks to @tjcain, @leitzler and @stamblerre for contributing towards this release.
Breaking changes
None
Major enhancements
- cmd/govim: add new GOVIMGoToTypeDef command (#864) 977fb0c
- cmd/govim: add a first cut of signature help (#854) 0370e72
- cmd/govim: implement Implements in gopls (#831) ed2a97a
gopls
changes
Details in the comparison golang/tools@63da46f...2212a7e
- deps: update x/tools and gopls to 2212a7e1 (#873) 3d10ebe
- deps: update x/tools and gopls to 4b814e06 (#865) 00e6a70
- deps: update x/tools and gopls to 9ee5ef7a (#851) dd56e8b
- deps: update x/tools and gopls to a3568bac (#849) d035992
- deps: update x/tools and gopls to 44c82bac18ac (#845) 281246e
- deps: update x/tools and gopls to 9fc00b0a (#841) f8f95fb
- deps: update x/tools and gopls to 09944062 (#832) 4980215
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) 8c4bca5
- cmd/govim: only doautoall on govim events (#871) 8dbe91b
- deps: upgrade github.com/creack/pty to v1.1.10 to fix Go1.15 issue (#870) 6b50ea7
- cmd/govim: fix completion candidate additional text edits for dups (#868) 24b23d2
- cmd/govim: allow duplicate items in completion candidates (#866) e10617c
- cmd/govim: refactor (*vimstate).locationsToQuickfix->locationToQuickfix (#861) 76202c1
- cmd/govim: refactor current cursor position (#856) 229e253
- cmd/govim/internal/types: add Buffer() method to Point (#859) 0eb9386
- cmd/govim/internal/types: add PointFromOffset (#860) 97f9177
- cmd/govim/internal/types: refactor into multiple files (#858) 1986dfd
- cmd/govim: move batch logic to separate file (#855) 1689c93
- cmd/govim: do not remove highlights on delta when auto-highlighting (#857) 9c78a05
- cmd/govim: persist highlights for explicit GOVIMHighlightReferences call (#852) 3139f79
- cmd/govim: add ExperimentalWorkaroundCompleteoptLongest config option (#853) 6e36a44
- all: make TODOs consistently commented as "TODO: ..." (#850) 0747e89
- cmd/govim: tidy-up refactor (#847) 8ef9929
- cmd/govim: fix index out of range bug when flipping back to diagnostics (#840) 0e9dda5
- cmd/govim: remove testdata directories from golang.org/x/tools "vendor" (#844) 0c3dd98
- cmd/govim: remove initialization options since they are outdated (#843) 80f0949
- cmd/govim: add experimental autoread loaded buffers support (#826) 4a6a4f8
- cmd/govim: echoerr when user tries to load using a bad version of Vim (#838) 200cdf8
- cmd/govim: flush pending deltas before handling callbacks from vim (#834) c6fbe06
v0.0.30
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) b989e95
- cmd/govim: add support for manually triggered reference highlight (#782) 10111c2
- cmd/govim: add reference highlighting when used goes idle (#741) 83e6313
- cmd/govim/config: promote ExperimentalTempModfile to TempModfile (#771) 761b836
gopls
changes
Most notable in this release is that gopls
now supports multiple concurrent clients (golang/go#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:
golang/tools@61798d6...63da46f
Major bug fixes
None
Other (including bug fixes)
- cmd/govim: fix complete_watched in preparation for gopls change (#833) db2f532
- govim: move plugin errorchan read to avoid data race (#829) 4744627
- govim: move plugin errorchan read to avoid deadlock (#828) b786c5a
- cmd/govim: safely handle busy state changes for non-.go buffers (#823) 30f2292
- cmd/govim: fix "next" motion key mappings for top-level declarations (#820) 56e86d7
- cmd/govim: remove one of the file watchers (#819) 907afa7
- testsetup: rename GOVIM_DETECT_USER_BUSY -> GOVIM_DISABLE_USER_BUSY (#812) 5d6bd95
- cmd/govim: fix handling of changed diagnostics from gopls (#811) 097679e
- cmd/govim: handle nil response to Hover (#816) 9f08758
- ci: disable flakey macOS builds until we have time to investigate #781 (#815) 2d6e2fb
- all: back-out changes to track all buffers (#809) 8926dec
- ci: upgrade to go1.14, go1.13.8 and Vim v8.2.318 (#803) c7ecca2
- cmd/govim: workaround BufWinEnter without BufNew bug (#802) bfc288d
- cmd/govim: handle buffer name changing in BufWinEnter (#798) 7280cf3
- cmd/govim: fix embarrassingly bad bug in buffer listener reset (#797) 39789a3
- cmd/govim: verify turning off unimported completions works (#796) 9f14650
- cmd/govim: move unimported completion tests to scenario_default (#793) ec0360d
- cmd/govim: track all buffers in govim (#784) 8826ef5
- cmd/govim: switch ftdetect for go.mod files to be *.mod (#792) a8c47c6
- cmd/govim: remove govim workaround for Configuration loading (#790) 60ac92c
- cmd/govim: add support for loading an initial file in testscript tests (#785) b0f31f2
- govim: synchronise access to out *json.Encoder (#786) afb9c20
- cmd/govim: Suppress "invalid buffer" errors when placing signs (#780) 974cf81
- cmd/govim: refactor batch call/expr handling (#770) 4a614fd
- ci: use 30m timeout for darwin CI test (#778) 9de9ef5
- ci: remove errant RACE_BUILD env var in workflow config (#769) 14f2f32
- cmd/govim: add test for racey cmd/go updates per golang.org/issues/37164 (#742) 3fa767f
v0.0.29
Breaking changes
None
Major enhancements
None
gopls
changes
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) c9e33fa
- cmd/govim: add a test that verifies things generally work for cgo (#429) 44ba56e
- ci: first cut of running tests on macOS (#746) 9925c13
- cmd/govim: test the setting of GoplsEnv with build tags in GOFLAGS (#595) a300cd4
- cmd/govim: unskip scenario_default/quickfix_new_files testscript test (#716) 4f5867f
- cmd/govim: unskip scenario_completeunimported/complete_new_file test (#717) 638a8ee
- ci: Ensure that artifacts are created and not overwritten (#764) b487697
v0.0.28
Thanks to @leitzler and @findleyr for contributing towards this release.
Breaking changes
None
Major enhancements
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) 37000c2
- deps: upgrade x/tools and gopls to 6e8b36d2 (#757) 897d5a4
- deps: upgrade x/tools and gopls to fe90550f (#745) 7cf7f31
- deps: upgrade x/tools and gopls to 2f3ba24b (#743) f8cc422
- deps: upgrade x/tools and gopls to 207d3de1 (#733) 4128a86
- deps: upgrade x/tools and gopls to 345141a3 (#731) f83a467
Major bug fixes
Other (including bug fixes)
- cmd/govim: fix darwin file system watcher event check (#760) 5cfafa0
- ci: upgrade to go1.14rc1 and Vim v8.2.0213 in the build matrix (#758) b7d5290
- ci: add branchCheck to postRun script (#756) faf4593
- ci: use official GitHub artefacts collection (#753) a835248
- cmd/govim: switch to the didChangeWatchedFiles API (#748) fc0e07f
- ci: use specific commits of actions (#752) 886a3c6
- cmd/govim: really ensure go-to-def tests have stable go.mod files (#750) 58660e5
- ci: do not fail-fast on failures (#747) 4982748
- cmd/govim: ensure go-to-def tests have stable go.mod files (#736) e5653c8
- tests: add testsetup.RaceSlowndownFactor (#740) 11bcb81
- cmd/govim: extract text property removal to own func (#737) 0465c13
- ci: move to GitHub actions (#744) 59ef3d6
- cmd/govim: test introducing diagnostics in directory replaced deps (#738) 484c2d1
- tests: add testscript condition for issues (#739) 7896daf
- cmd/govim: add completion tests for std lib and module cache definitions (#729) 01c8f58
- ci: enable gopls verbose logging for CI runs (#734) c93f0cd
- ci: tag docker :latest-vim on CI master builds (#725) 9cecc52
- cmd/govim: add a test that renames an identifier in another package (#726) 8963c00
- cmd/govim: add go-to-def tests for std lib and module cache definitions (#728) 342bc74
- cmd/govim: Ensure text prop highlights aren't placed when disabled (#730) 60a1430
v0.0.27
Thanks to @leitzler, @cespare and @findleyr for contributing towards this release.
Breaking changes
Major enhancements
- cmd/govim: add config ExperimentalTempModfile (#634) 8f4859d
- cmd/govim: add diagnostics to hover popup (#693) 2dd3699 (with thanks to @leitzler)
- You can now hover over an error to see the diagnostic message
- cmd/govim: apply AdditionalTextEdits on CompleteDone (#674) 9597d2b
- 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) 6236474 (with thanks to @leitzler)
- cmd/govim: add syntax and indent for go.mod files (#620) acb0572 (with thanks to @cespare)
- Makes editing
go.mod
files considerably more sane
- Makes editing
- cmd/govim: highlight diagnostics (#579) 93fa47f (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) bb606ba
- deps: upgrade x/tools and gopls to d456b1cd (#706) 67ccd2d
- deps: use temporary fork of x/tools and gopls (#689) c7a6cc3
- deps: upgrade x/tools and gopls to 0cba7a3a (#675) d80f0e2
- deps: use temp fork of x/tools and gopls to 53017a39 + 11e9d9cc (#660) afa4918
- deps: upgrade x/tools and gopls to 774c71fc (#652) 11eb9c7
- deps: upgrade x/tools and gopls to f13409bb (#640) 2c6e7ba
- deps: upgrade to gopls and x/tools 5e752206 (#584) 29ba8dc
- deps: use cherry pick of CL 210077 for memoize race fix (#611) e3249f8
Other (including bug fixes)
- cmd/govim: support GOVIM_USE_GOPLS_FROM_PATH=true for tests (#720) bb7b134
- cmd/govim: fix a rogue use of getqflist in a testscript test (#723) 4d98be2
- ci: update latest vim to v8.2.0151 (#722) fbb80cd
- cmd/govim: make all error/warning message checks identical (#712) 4b70552
- cmd/govim: provide env var to turn on gopls verbose output (#718) 9eb5c45
- testdriver: do not try to copy symlink files (#719) e97ea35
- testdriver: add common test functions (#715) df220b8
- ci: tidy up go.{mod,sum} (#714) f46ac1b
- github: add @leitzler to funding.yml (#710) 1443e43
- cmd/govim: skip empty text edits (#708) f51f8d1
- cmd/govim: add testscript tests for new files not on disk (#699) 1eb9311
- cmd/govim: reenable test that stresses golang/go#36144 (#684) 96e61d2
- govim: make testscript tests truly concurrent (#704) 355ece1
- ci: notify when the master build goes green (#705) 57bc06e
- cmd/govim: skip flakey test for GVim v8.1.1711 (#703) 7138442
- cmd/govim: ensure that GOPATH is in a hidden directory (#702) ca3f52d
- cmd/govim: leaving userbusy always updates text property highlighs (#700) de8e9ac
- cmd/govim: by default don't detect if user is busy in testscript scripts (#694) 9fe8806
- cmd/govim: add test for quickfix errors in dependencies (#326) 921c364
- cmd/govim: make testscript scripts truly concurrent (#691) 57e94a3
- ci: add a CI environment variable to run race tests for pull requests (#690) 0876ba3
- cmd/govim: improve skip messages in testscript tests (#681) cd2d293
- testdriver: add vimexprwait to simplify wait assertions (#678) f036f11
- ci: properly separate artefacts for race builds in all places (#679) 3112437
- scripts: add captureLogs.sh to easily run tests and capture all logs (#677) 28f9f8f
- testing: revert GOTMPDIR hack for setting testscript workdir root (#673) 309f57b
- cmd/govim: change log file template to default to .log files (#671) 29461d3
- cmd/govim: Do not increase version if buffer content didn't change (#665) 676bb76
- ci: fix master cron build to drop replace directives (#664) 4208a98
- cmd/govim: fix GOVIMQuickfixDiagnostics command (#662) c4bb087
- tests: fix diagnostic assertions in our tests (#653) dfabc26
- cmd/govim: create a test demonstrating failing completion (#659) 0e63668
- tests: create gists from artefacts (logs) of failed CI tests (#650) 854efae
- cmd/govim: make user busy autocmd nested (#654) 7e59ad0
- ci: fix simple bug in dockerRun script and Travis config (#651) 82216f1
- cmd/govim: tighten up quickfix config tests (#646) 419444d
- cmd/govim: use github.com/rogpeppe/go-internal/gotooltest in tests (#639) 8201bdf
- ci: add go1.14beta1 and Vim v8.2.0025 to the build matrix (#635) d5a3cde
- testdriver: limit listening to local interface (#636) 9074258
- cmd/govim: put install scripts tests behind env var (#632) 63ce556
- deps: upgrade to github.com/rogpeppe/go-internal@v1.5.1 (#630) 3376e91
- tests: add a -gopls flag for scenario tests in cmd/govim (#629) 7adec67
- cmd/govim: fix scripts-with-gopls-from-path tests (#627) db94029
- ci: run goimports on our code and ensure it remains well formatted (#628) 6240503
- deps: switch to github.com/creack/pty (#625) 98f3216
- cmd/govim: use visual positions for diagnostics (#567) e0fe199
- testdriver: fix flakely parsing of version from vim --version output (#624) b900be6
- testdriver: expose max errlogmatch wait time (#621) 393cb5a
- cmd/govim: implement LSP DidSave (#618) d1c7a12
- ci: go1.13.5, go1.12.14 and latest Vim v8.1.2414 (#617) 8f8ccc4
- tests: define a default value for errlogmatch -wait flag (#614) 389fe5d
- tests: establish known quickfix buffer number in testscripts tests (#613) 55677e1
- cmd/govim: fix various diagnostic, quickfix and sign issues (#608) bf03210
- cmd/govim: add concept of user config in test overrides (#606) 30eab52
- govim: use a single tomb (#610) 91feb21
- govim: debug error where we call Go on an already dead tomb (#602) 0b4b110
- all: hide home directory in script tests (#605) 6f5e25a
- cmd/govim: place signs for existing diagnostics in new buffers (#590) 4757564
- cmd/govim: properly format messages that we are asked to show by gopls (#599) 2983b2f
- cmd/govim: add support for goimports -local equivalent config (#571) dc7ed8e
- cmd/govim: fix Shutdown() sequence to close gopls (#600) 5e95efb
- cmd/govim: fix race on govim configuration (#601) 70394e4
- cmd/govim: starting watching changes to go.mod again (#594) c71e3b0
- cmd/govim: block govim initialisation until post Configuration call (#593) 2db04e5
- cmd/govim: add goproxytest proxy server (#592) d91834a
v0.0.26
Breaking changes
None
Major enhancements
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
Per #586 (comment), 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 #591
Apologies, this meant we released a relatively unstable version of govim
.