Remove unused internal or unexported functions (#3481)

This commit is contained in:
Oleksandr Redko
2024-11-16 22:19:37 +02:00
committed by GitHub
parent c8eeb788cb
commit b881bf5606
6 changed files with 0 additions and 66 deletions

View File

@@ -135,15 +135,6 @@ headerLoop:
return chosen, suggestions
}
func contains(s []string, e string) bool {
for _, a := range s {
if a == e {
return true
}
}
return false
}
// OptionComplete autocompletes options
func OptionComplete(b *buffer.Buffer) ([]string, []string) {
c := b.GetActiveCursor()