Merge #4980 'Support legacy :ruby commands'.

This commit is contained in:
Justin M. Keyes
2016-07-10 14:16:12 -04:00
11 changed files with 412 additions and 16 deletions

View File

@@ -22344,7 +22344,10 @@ bool eval_has_provider(char *name)
} \
}
static int has_clipboard = -1, has_python = -1, has_python3 = -1;
static int has_clipboard = -1;
static int has_python = -1;
static int has_python3 = -1;
static int has_ruby = -1;
if (!strcmp(name, "clipboard")) {
check_provider(clipboard);
@@ -22355,6 +22358,9 @@ bool eval_has_provider(char *name)
} else if (!strcmp(name, "python")) {
check_provider(python);
return has_python;
} else if (!strcmp(name, "ruby")) {
check_provider(ruby);
return has_ruby;
}
return false;