func (v *vimstate) quickfixCanDiagnostics() bool {
	if v.ParseInt(v.ChannelExpr(`len(getqflist())`)) == 0 {
		return true
	}
	var qflist qflistProps
	v.Parse(v.ChannelExpr(`getqflist({"title":1})`), &qflist)
	return qflist.Title == "" || qflist.Title == quickfixDiagnosticsTitle
}
quickfixCanDiagnostics returns true if the quickfix can be populated with
diagnostics.
package main
import (
	"context"
	"encoding/json"
	"fmt"
	"strings"
	"sync"
	"github.com/govim/govim/cmd/govim/config"
	"github.com/govim/govim/cmd/govim/internal/golang_org_x_tools/lsp/protocol"
	"github.com/govim/govim/cmd/govim/internal/types"
	"github.com/govim/govim/cmd/govim/internal/vimconfig"
	"github.com/govim/govim/internal/plugin"
)
type vimstate struct {
	plugin.Driver
	*govimplugin
	buffers map[int]*types.Buffer
	jumpStack    []protocol.Location
	jumpStackPos int
	lastCompleteResults *protocol.CompletionList
	defaultConfig config.Config
	config        config.Config
	configLock    sync.Mutex
	userBusy bool
	popupWinID int
	currBatch *batch
	lastQuickFixDiagnostics []quickfixEntry
	suggestedFixesPopups map[int][]suggestedFix
	workingDirectory string
	currentReferences []*types.Range
	highlightingReferences bool
	progressPopups map[protocol.ProgressToken]*types.ProgressPopup
	lastProgressText *strings.Builder
	vimgrepPendingBufs map[int]*types.Buffer
}