gopher.vim
gopher.vim copied to clipboard
Plugin for the Go programming language
Steps: 1. Open project file 2. Run `:Git blame` from tpope/fugitive 3. Try `P` for re-blame; observe error 4. Try `gq` to quit blame; same error prevents quitting the blame....
Fixes #50. Some NeoVim environment seems has no `chdir()` function. If doesn't, use `lcd` ex-command instead.
When I open Go file, an error occurs: ``` Error detected while processing function 12[32]..12_callback: line 21: Vim(call):E117: Unknown function: chdir ``` As the error says, my NeoVim seems has...
Hi, When opening a second `.go` file, I get the error message: ``` Key not present in Dictionary: _popup ``` This is caused by the code here: https://github.com/arp242/gopher.vim/blob/8934106626845fcb06bdd8dbc6a18d657af1c073/ftplugin/go.vim#L94 And the...
It might be helpful to highlight invalid format specifiers: fmt.Printf("it's %.1f%", percentage) I can't really get the regexp for that one right at the moment, and there's also the issue...
I find myself adding `replace` fairly often for stuff I maintain. This makes that a bit easier.
For example: :!go install zgo.at/goatcounter/cmd/goatcounter ./cmd/goatcounter/ 2>&1| tee /tmp/vsJ7OHh/29 build zgo.at/goatcounter/cmd/goatcounter: cannot load zgo.at/goatcounter/stripe: module zgo.at/goatcounter/stripe: Get https://proxy.golang.org/zgo.at/goatcounter/stripe/@v/list: dial tcp: lookup proxy.golang.org: Temporary failure in name resolution Another one I've...
Hi, thank you for the great plugin. I use it very conveniently. But I don't want to check if the prefix overrides other commands. This is because I disable popup...
Right now putting `fold-block` in `gopher_highlight` will fold *any* `{ .. }` block. There is no way to fold only functions, or only structs. It would be useful to split...
`go test -list` is quite slow, and also doesn't list subtests. Not sure if there's a good way?