MCPcopy Create free account
hub / github.com/nsf/gocode / preprocess_desc

Function preprocess_desc

config.go:217–221  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

215var descRE = regexp.MustCompile(`{[^}]+}`)
216
217func preprocess_desc(v string) string {
218 return descRE.ReplaceAllStringFunc(v, func(v string) string {
219 return color_cyan + v[1:len(v)-1] + color_none
220 })
221}
222
223func (this *config) options() string {
224 var buf bytes.Buffer

Callers 1

optionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected