diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-04 16:42:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 16:42:20 +0800 |
commit | 38f9ee63660740ce1976173a8513b57bc41d94a3 (patch) | |
tree | f71b8841ee2b9bd0e7a51e184a64d3117f51cc3d /src/nvim/eval/typval.c | |
parent | b9e34571f95b1480607c50d5303b4c63c3370374 (diff) | |
parent | 47132823ab1c4f458c945df89d12e897d77db8a8 (diff) | |
download | rneovim-38f9ee63660740ce1976173a8513b57bc41d94a3.tar.gz rneovim-38f9ee63660740ce1976173a8513b57bc41d94a3.tar.bz2 rneovim-38f9ee63660740ce1976173a8513b57bc41d94a3.zip |
Merge pull request #23468 from zeertzjq/vim-8.2.1466
vim-patch:8.2.{1466,3336}
Diffstat (limited to 'src/nvim/eval/typval.c')
-rw-r--r-- | src/nvim/eval/typval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval/typval.c b/src/nvim/eval/typval.c index ba1d60959a..0b2be3074f 100644 --- a/src/nvim/eval/typval.c +++ b/src/nvim/eval/typval.c @@ -787,8 +787,8 @@ int tv_list_slice_or_index(list_T *list, bool range, int n1_arg, int n2_arg, typ n1 = len + n1; } if (n1 < 0 || n1 >= len) { - // For a range we allow invalid values and return an empty - // list. A list index out of range is an error. + // For a range we allow invalid values and return an empty list. + // A list index out of range is an error. if (!range) { if (verbose) { semsg(_(e_listidx), (int64_t)n1); |