govim

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

BSD-3-CLAUSE License

Stars
872
Committers
16
govim - v0.0.15

Published by myitcv over 5 years ago

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)
govim - v0.0.14

Published by myitcv over 5 years ago

  • deps: golang.org/x/tools v0.0.0-20190513233021-7d589f28aaf4 (#229)
  • cmd/govim: fix completion (#232)
govim - v0.0.13

Published by myitcv over 5 years ago

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

govim - v0.0.12

Published by myitcv over 5 years ago

Bug fixes:

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

Published by myitcv over 5 years ago

This release is principally to make available https://github.com/myitcv/govim/pull/189, a temporary govim-based solution to file watching, whilst we await an official solution via https://github.com/golang/go/issues/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.

govim - v0.0.10

Published by myitcv over 5 years ago

Bug fixes:

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

Published by myitcv over 5 years ago

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
govim - v0.0.8

Published by myitcv over 5 years ago

  • cmd/govim: make GoToDef and GoToPrevDef respect switchbuf (#166)
  • govim,cmd/govim: various bits (#167)
govim - v0.0.7

Published by myitcv over 5 years ago

  • 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)
govim - v0.0.6

Published by myitcv over 5 years ago

  • 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)
govim - v0.0.5

Published by myitcv over 5 years ago

  • readme: fix min version reference (#143)
  • govim: move base config from govim.vim to test.vim (#141)
  • deps: golang.org/x/tools v0.0.0-20190417005754-4ca4b55e2050 (#140)
govim - v0.0.4

Published by myitcv over 5 years ago

Using golang.org/x/tools v0.0.0-20190416215400-dd61c98faef7 per #103

govim - v0.0.3

Published by myitcv over 5 years ago

Initial release of quickfix support, per #131

govim - v0.0.2

Published by myitcv over 5 years ago

Release to flag the minimum Vim requirement has changed to v8.1.1158 (per travis.yml)

govim - v0.0.1

Published by myitcv over 5 years ago

Initial release, largely to flag the minimum Vim requirement has changed to v8.1.1137 (details in https://github.com/myitcv/govim/pull/112)