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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/api/vim.h b/src/api/vim.h
index 2205760d8b..86a42b7aae 100644
--- a/src/api/vim.h
+++ b/src/api/vim.h
@@ -50,6 +50,11 @@ void vim_change_directory(String dir, Error *err);
/// @return The current line string
String vim_get_current_line(Error *err);
+/// Delete the current line
+///
+/// @param[out] err Details of an error that may have occurred
+void vim_del_current_line(Error *err);
+
/// Sets the current line
///
/// @param line The line contents