From cb89033630865290f41ffec0948529ada1daaff3 Mon Sep 17 00:00:00 2001 From: Hirohito Higashi Date: Tue, 25 Aug 2026 18:53:43 +0000 Subject: [PATCH] runtime(doc): some Blob functions are missing from blob-functions blob2str(), str2blob(), base64_encode() and base64_decode() are only listed under string-functions and channel-functions. Also use "Blob" consistently and say "bytes" instead of "numbers" for reverse(). closes: #21148 Co-Authored-By: Claude Opus 5 (1M context) Signed-off-by: Christian Brabandt --- runtime/doc/usr_41.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index c1ecf81b20..05ca990d0d 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -1,4 +1,4 @@ -*usr_41.txt* For Vim version 9.2. Last change: 2026 Aug 18 +*usr_41.txt* For Vim version 9.2. Last change: 2026 Aug 25 VIM USER MANUAL by Bram Moolenaar @@ -936,9 +936,13 @@ Blob manipulation: *blob-functions* foreach() apply function to Blob bytes reduce() reduce a Blob to a value slice() take a slice of a Blob - blob2list() get a list of numbers from a blob - list2blob() get a blob from a list of numbers - reverse() reverse the order of numbers in a blob + blob2list() get a list of numbers from a Blob + list2blob() get a Blob from a list of numbers + blob2str() get a list of strings from a Blob + str2blob() get a Blob from a list of strings + base64_encode() encode a Blob into a base64 String + base64_decode() decode a base64 String into a Blob + reverse() reverse the order of bytes in a Blob string() String representation of a Blob index() index of a value in a Blob indexof() index in a Blob where an expression is true