Autocomplete off value as well

It is also a documented special value of the `filetype` option.
This commit is contained in:
Dmytro Maluka 2024-03-25 03:25:13 +01:00
parent ee6519f5cb
commit d64c9443f5

View file

@ -87,6 +87,9 @@ func filetypeComplete(input string) (string, []string) {
}
}
if strings.HasPrefix("off", input) {
suggestions = append(suggestions, "off")
}
if strings.HasPrefix("unknown", input) {
suggestions = append(suggestions, "unknown")
}