From 01b4efe9d939d9eed93c55829d8c35ec22113328 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 3 Feb 2019 16:42:44 +0100 Subject: rename ui_is_external to ui_has (#9576) --- src/nvim/ui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nvim/ui.c') diff --git a/src/nvim/ui.c b/src/nvim/ui.c index dd4eb0f196..6a7cbd36cc 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -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) -- cgit