aboutsummaryrefslogtreecommitdiff
path: root/src/api/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/vim.h')
-rw-r--r--src/api/vim.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/api/vim.h b/src/api/vim.h
index a18f9c69e9..81aadb2014 100644
--- a/src/api/vim.h
+++ b/src/api/vim.h
@@ -77,20 +77,14 @@ Object vim_set_var(String name, Object value, Error *err);
/// @param name The option name
/// @param[out] err Details of an error that may have occurred
/// @return The option value
-String vim_get_option(String name, Error *err);
+Object vim_get_option(String name, Error *err);
/// Sets an option value
///
/// @param name The option name
/// @param value The new option value
/// @param[out] err Details of an error that may have occurred
-void vim_set_option(String name, String value, Error *err);
-
-/// Deletes an option, falling back to the default value
-///
-/// @param name The option name
-/// @param[out] err Details of an error that may have occurred
-void vim_del_option(String name, Error *err);
+void vim_set_option(String name, Object value, Error *err);
/// Write a message to vim output buffer
///