mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-19 07:17:11 +09:00
Autocomplete off value as well
It is also a documented special value of the `filetype` option.
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user