* made change to close qf windown when same command is run again and all issues fixed
* fixup! made change to close qf windown when same command is run again and all issues fixed
---------
Co-authored-by: Iraq Jaber <IraqJaber@gmail.com>
Breaking: requires latest neovim nightly (f1dfe32bf5552197e0068298b0527526a4f918b1)
feat(lua): enable(enable:boolean, filter:table) #28374
* Fixes#451 inlay hint api change
Change the calls to inlay_hint.enable to arrange the
parameters in the expected way.
* correct filter table expression
Additionally, I've set gopls as the default tool for both gofmt and goimports. This integration will be quicker than executing a separate command in the background and analyzing its output.
When providing custom arguments (`:GoTest-n -a -test.timeout=5s`), the
resultant command will be:
`go test <package> -args -test.timeout=5s -run=<exp>`
Since `-run` is after `-args`, the `-test.` prefix is required to be
properly detected. According to `go help testflags`, all test commands
are recognized with this prefix.
* Adjusted local.scm queries to fix crashes when using treesitter post-v0.9.2
* Accounted for 'local' subtable in treesitter matches when querying locals
* fixup: check for env variables based on go env
not all golang env specific variables are
injected into vim.env, so check their presence
based on go env instead
* prevent emtpy lines at the end of go build
* fixup: treat empty values as nil