Skip to content

Releases: govim/govim

v0.0.15

03 Jun 10:24
4c35102
Compare
Choose a tag to compare

Breaking changes

govim now uses config functions to control behaviour. For example:

let g:govim_format_on_save="goimports"

becomes:

call govim#config#Set("FormatOnSave", "goimports")

See the Config go doc for the valid keys and values. The wiki has been updated to reflect this change.

Features/bug fixes

  • If you have Vim/Gvim >= 8.1.1419 then you will send incremental buffer updates to gopls instead of entire file contents. This should improve general responsiveness
  • Various gopls fixes
  • Fix where :w after an undo would fail
  • Fix where quickfix window would be incorrectly populated on occasions (#261)

v0.0.14

15 May 11:24
b7cb37e
Compare
Choose a tag to compare
  • deps: golang.org/x/tools v0.0.0-20190513233021-7d589f28aaf4 (#229)
  • cmd/govim: fix completion (#232)

v0.0.13

14 May 12:07
be51863
Compare
Choose a tag to compare

Changes

  • Add GOVIMGoImports and GOVIMGoFmt commands; currently only work on the entire file
  • Various gopls fixes
  • Add CommandQuickfixDiagnostics command, to manually populate quickfix window with current gopls diagnostics
  • Add g:govim_quickfix_auto_diagnotics_disable variable to control whether quickfix window is automatically populated with gopls diagnostics; see https://godoc.org/github.com/myitcv/govim/cmd/govim/config for more details

BREAKING CHANGES

A small configuration-related breaking change has been made. Default values of updatetime and balloondelay were previous set in the govim plugin. These have now been moved to the minimal.vimrc as suggested settings:

https://github.com/myitcv/govim/blob/be5186373d0b6831936cab56b729ca878020c2ae/cmd/govim/config/minimal.vimrc#L25-L33

v0.0.12

02 May 15:06
8d88770
Compare
Choose a tag to compare

Bug fixes:

  • cmd/govim: enforce the minimum Vim version requirement
  • cmd/govim: ensure that we correctly add a newline to end of file

v0.0.11

01 May 11:02
45c91bd
Compare
Choose a tag to compare

This release is principally to make available #189, a temporary govim-based solution to file watching, whilst we await an official solution via golang/go#31553.

This will be of particular interest if you use go generate or similar, where file changes outside of the editor need to be communicated to gopls.

v0.0.10

29 Apr 19:38
b63becf
Compare
Choose a tag to compare

Bug fixes:

  • Upgrade golang.org/x/tools to fix bug: internal/span: fix another off-by-one in ToUTF16Column

v0.0.9

28 Apr 08:49
0455cfa
Compare
Choose a tag to compare

Important points to note:

Other version highlights:

  • Various upgrades to golang.org/x/tools, principally to fix panics in calls to span.ToUTF16Column
  • cmd/govim: explicitly use bufname instead of (#171)
  • deps: move to golang.org/x/tools v0.0.0-20190424031103-cb2dda6eabdf (#173) - fixes

v0.0.8

23 Apr 09:45
1f3d34f
Compare
Choose a tag to compare
  • cmd/govim: make GoToDef and GoToPrevDef respect switchbuf (#166)
  • govim,cmd/govim: various bits (#167)

v0.0.7

21 Apr 20:11
8a9e8ca
Compare
Choose a tag to compare
  • cmd/govim: create a vim channel file by default to help with debugging (#163)
  • cmd/govim: handle buffer delete event (#161)
  • cmd/govim/config: document constants (#160)
  • README: make pointer to minimal.vimrc more explicit (#159)
  • govim: allow autocmds to declare expressions (#158)
  • ci: add script to quickly trim local Docker image cache (#156)

v0.0.6

18 Apr 10:29
7d32527
Compare
Choose a tag to compare
  • docs: improve readme around Neovim and minimal vimrc (#155)
  • deps: update to golang.org/x/tools v0.0.0-20190417223002-a5870b403859 (#154)
  • cmd/govim: use setqflist instead of cgetfile (#153)
  • plugin: improve VimScript shim (#151)
  • general: add GitHub issue template (#145)