aboutsummaryrefslogtreecommitdiff
path: root/src/api/vim.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-10 22:37:36 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-13 14:11:26 -0300
commit607d4acfb262562b78145cbe3c2240fc7b4f49da (patch)
tree0a7b8e8fb363a5a5e7e1d59c61c181fd6d75b6b0 /src/api/vim.h
parent8eb67404f00c789fc5e8ef723105be2b0aff85cd (diff)
downloadrneovim-607d4acfb262562b78145cbe3c2240fc7b4f49da.tar.gz
rneovim-607d4acfb262562b78145cbe3c2240fc7b4f49da.tar.bz2
rneovim-607d4acfb262562b78145cbe3c2240fc7b4f49da.zip
API: Implement functions for deleting lines
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