aboutsummaryrefslogtreecommitdiff
path: root/src/api/vim.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-10 22:31:18 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-13 14:11:26 -0300
commit8eb67404f00c789fc5e8ef723105be2b0aff85cd (patch)
tree154d948564ba3607efc27aa98877c8775f05ebb4 /src/api/vim.c
parent4dc34bc0e052320feebdc3a9aed0df1d3e8af181 (diff)
downloadrneovim-8eb67404f00c789fc5e8ef723105be2b0aff85cd.tar.gz
rneovim-8eb67404f00c789fc5e8ef723105be2b0aff85cd.tar.bz2
rneovim-8eb67404f00c789fc5e8ef723105be2b0aff85cd.zip
API: Refactor buffer_{get,set}_line
They are now implemented on top of the buffer_{get,set}_slice functions
Diffstat (limited to 'src/api/vim.c')
-rw-r--r--src/api/vim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/vim.c b/src/api/vim.c
index bf7db27110..30e2a9a12b 100644
--- a/src/api/vim.c
+++ b/src/api/vim.c
@@ -136,7 +136,7 @@ String vim_get_current_line(Error *err)
return buffer_get_line(curbuf->b_fnum, curwin->w_cursor.lnum - 1, err);
}
-void vim_set_current_line(Object line, Error *err)
+void vim_set_current_line(String line, Error *err)
{
buffer_set_line(curbuf->b_fnum, curwin->w_cursor.lnum - 1, line, err);
}