rename ui_is_external to ui_has (#9576)

This commit is contained in:
Justin M. Keyes
2019-02-03 16:42:44 +01:00
committed by GitHub
parent 79a0ea2bec
commit 01b4efe9d9
8 changed files with 40 additions and 46 deletions

View File

@@ -413,10 +413,10 @@ void ui_cursor_shape(void)
conceal_check_cursor_line();
}
/// Returns true if `widget` is externalized.
bool ui_is_external(UIExtension widget)
/// Returns true if the given UI extension is enabled.
bool ui_has(UIExtension ext)
{
return ui_ext[widget];
return ui_ext[ext];
}
Array ui_array(void)