From 9464399c8c8af44eea9c723f090e782af0346a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Barreteau?= <> Date: Mon, 20 Jul 2020 20:21:49 +0200 Subject: [PATCH] Fix documentation The list parameter is an an [in,out] rather than just an [in]. --- src/nvim/eval/typval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/eval/typval.c b/src/nvim/eval/typval.c index e47403c656..dcfd456ce3 100644 --- a/src/nvim/eval/typval.c +++ b/src/nvim/eval/typval.c @@ -643,7 +643,7 @@ tv_list_copy_error: /// Flatten "list" in place to depth "maxdepth". /// Does nothing if "maxdepth" is 0. /// -/// @param[in] list List to flatten +/// @param[in,out] list List to flatten /// @param[in] maxdepth Maximum depth that will be flattened /// /// @return OK or FAIL