internal/lsp/semantic_tokens.go (16 lines of code) (raw):

package lsp import ( lsp "github.com/Azure/azapi-lsp/internal/protocol" ) type SemanticTokensClientCapabilities struct { lsp.SemanticTokensClientCapabilities } func (c SemanticTokensClientCapabilities) FullRequest() bool { switch full := c.Requests.Full.(type) { case bool: return full case map[string]interface{}: return true } return false }