aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/api/vim.h')
-rw-r--r--src/nvim/api/vim.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/api/vim.h b/src/nvim/api/vim.h
index 17a17c28c7..4ecc9fc2d0 100644
--- a/src/nvim/api/vim.h
+++ b/src/nvim/api/vim.h
@@ -30,8 +30,9 @@ Object vim_eval(String str, Error *err);
/// one cell.
///
/// @param str Some text
+/// @param[out] err Details of an error that may have occurred
/// @return The number of cells
-Integer vim_strwidth(String str);
+Integer vim_strwidth(String str, Error *err);
/// Returns a list of paths contained in 'runtimepath'
///