diff --git a/build/ctags.go b/build/ctags.go index 496447eda..28cf88c3b 100644 --- a/build/ctags.go +++ b/build/ctags.go @@ -49,7 +49,7 @@ func ctagsAddSymbolsParserMap(todo []*zoekt.Document, languageMap ctags.Language var tagsToSections tagsToSections for _, doc := range todo { - if doc.Content == nil || doc.Symbols != nil { + if len(doc.Content) == 0 || doc.Symbols != nil { continue }