Skip to content

Tags: govim/govim

Tags

v0.0.35

Toggle v0.0.35's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
cmd/govim: sort edits before applying them (#1171)

The LSP protocol doesn't require them to be ordered,
though gopls historically did sort them (until briefly
it didn't), but it is good to be defensive.

v0.0.34

Toggle v0.0.34's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
deps: update x/tools and gopls to 376db572 (#1053)

Includes a small fix up for a diagnostic error message to match the new
expected value from gopls.

* internal/lsp: use pre-existing quick fixes for analysis diagnostics 376db572
* internal/lsp: run type error analyzers as part of diagnostics 144d5ced
* internal/lsp/source: eliminate GetTypeCheckDiagnostics 24439e3c
* internal/lsp: show human-readable const time.Duration as a comment dafbee50
* internal/lsp/cache: don't rely on related diagnostics if unsupported 9c452d85
* internal/lsp: key GC details off package ID 2ac05c83
* gopls/internal/hooks: compile URL regexp once 303d8bbb
* internal/lsp/cache: show type errors on parse errors in other files 94327d32
* gopls/internal/regtest: add a failing test for issue 44736 16b2c870
* internal/lsp/cache: split up sourceDiagnostics 78002535
* internal/lsp/cache: refactor Go file parsing 47985cf3
* internal/lsp/cache: invalidate metadata on magic comment changes 6422c5c8
* gopls/internal/regtest: add test for bad embed rules f9c628b1
* internal/lsp/cache: parse filenames from go list errors correctly 89a9cb6e
* internal/lsp/cache: refactor diagnostic suppression eb48d3f6
* internal/lsp/cache: fix related error processing 7a079fcd

v0.0.33

Toggle v0.0.33's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
deps: update x/tools and gopls to 842a9283 (#1031)

Includes govim changes required to satisfy the new methods the
protocol.Server interface, plus changes in response to protocol type
changes for line and column numbers.

* gopls/internal/regtest: only run in 'singleton' mode on certain GOOS 842a9283
* gopls/internal/regtest/codelens: increase the timeout on TestGCDetails bd8508e4
* internal/lsp/cache: fix AllowModfileModifications on 1.16 6d19fbfa
* internal/jsonrpc2: remove unused invalidID constant 6baea3f8
* all: upgrade all dependencies, if possible ed973575
* internal/lsp: remove redundant fields/code after source.Error deletion e7dfe027
* internal/lsp: remove the source.Error type 51ce8377
* internal/lsp/protocol/typescript: update LSP generating code 5659e493
* internal/lsp: enable semantic tokens as part of all experiments ddc05f8a
* internal/lsp: update to latest version of LSP protocol c3402e3c
* internal/lsp: stop using structured errors 2ab23861
* internal/lsp: enable -mod=readonly in workspace module mode 9b8df07b
* internal/lsp: re-enable upgrades for individual dependencies f1f686b0
* go/packages: improve go invocation errors d8a2a079
* internal/lsp/cache: remove mod upgrade code 19db92ec
* internal/lsp/protocol: use a pointer for code action's disabled field 0cef57b5

v0.0.32

Toggle v0.0.32's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
cmd/govim: first cut of command-line mode to query "parent" (#848)

This enables govim to be used with fzf and other such Vim plugins that
require a client program in order to run a command. In the case of fzf,
the client instance of govim is used in order to re-query the parent
instance, which in turn calls on to gopls' workspace symbol search. This
allows the search results within fzf to be refined on each key stroke.

This approach, however, is not specific to fzf. Hence some configuration
of Vim/fzf is required. For a sample .vimrc configuration see:

https://github.com/govim/govim/wiki/vimrc-tips#-tip-use-fzf-with-workspace-symbol-search

Fixes #795

v0.0.31

Toggle v0.0.31's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
ci: update latest Vim to v8.2.0735, and Go to 1.14.2 and 1.13.10 (#874)

Also drop any Neovim support for now (we can always re-add this later).

And change the Dockerfiles to drop the base image and instead build
Vim/Gvim first. This means that the most expensive step can be cached
(downloading Go is much less effort).

v0.0.30

Toggle v0.0.30's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
cmd/govim: fix complete_watched in preparation for gopls change (#833)

In preparation for a future gopls change which changes the order of
returned completion candidates, we unambiguously select one of the
Const* values by attempting our completion with a prefix.

fixed_buffer_lifecycle_pre_backout

Toggle fixed_buffer_lifecycle_pre_backout's commit message

Verified

This commit was signed with the committer’s verified signature.
myitcv Paul Jolly
cmd/govim: better handling of buffer life-cycle events

WIP commit message

v0.0.29

Toggle v0.0.29's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
cmd/govim: add tests for gopls features where files are initially emp…

…ty (#727)

We have a number of tests that check gopls behaviour where files do not
exist on disk, i.e. they are just buffers in memory. But we are missing
tests to verify that if .go files on disk are empty and then "filled in"
by changes in the editor, that things work as expected.

Add some tests of that sort.

v0.0.28

Toggle v0.0.28's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
deps: upgrade x/tools and gopls to 6fdc5776 (#762)

Also includes fix for #761

* internal/lsp: add quickfixes for missing dependencies in go.mod 6fdc5776
* internal/lsp: refactor LSP server instantiation c29062fe
* internal/lsp: move all of the test helpers functions into one file 37215997
* internal/lsp: export DiffSymbols to avoid duplication f8c9a4c3
* internal/lsp: don't return references for builtins 222e5d4b
* internal/lsp: remove unnecessary source.SignatureInformation type 6224300b
* go/packages/packagestest: do not overwrite existing go.mod file 64a0f23f
* internal/lsp/tests: standardize testdata folder format 2529d285
* internal/lsp: filter keyword completions in tests dd0d5d48
* internal/lsp/source: improve completion after accidental keywords f66ef900
* internal/lsp/source: improve completion involving multiple return values 50d61866
* gopls/doc: update VS Code settings to correspond with current defaults 531cc885
* internal/lsp: stop returning metadata from (*snapshot).load 403f1254
* internal/imports: prevent self-imports in the stdlib 9f574694
* internal/jsonrpc2: fix invalid invocations of Fatalf in goroutines aa017ee8

Fixes #761

v0.0.27

Toggle v0.0.27's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
cmd/govim: split config.FormatOnSaveGoImports into component parts (#721

)

This is a breaking change.

gopls separates the concept of fixing imports (CodeAction) and
formatting (Formatting). We should follow suit on the govim side.

Therefore, FormatOnSaveGoImports changes meaning from being fixing
imports and formatting, to solely fixing imports. Correspondingly,
CommandGoImports also changes its semantics.

We introduce FormatOnSaveGoImportsGoFmt as the combined action and this
then becomes the default for Config.FormatOnSave.