mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
Add :ruby, :rubyfile, and :rubydo ex commands
This commit is contained in:
@@ -22338,7 +22338,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);
|
||||
@@ -22349,6 +22352,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;
|
||||
|
Reference in New Issue
Block a user