diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2023-10-31 09:15:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 09:15:32 -0500 |
commit | 224f303ee54c54d2147f03010385e8cc48e42869 (patch) | |
tree | b64c86baed2c7d4ea652eee233674188044e2da6 /runtime/doc/lua.txt | |
parent | adbe7f368397da21465f27181e254dd3694820e9 (diff) | |
download | rneovim-224f303ee54c54d2147f03010385e8cc48e42869.tar.gz rneovim-224f303ee54c54d2147f03010385e8cc48e42869.tar.bz2 rneovim-224f303ee54c54d2147f03010385e8cc48e42869.zip |
feat(stdlib): add vim.base64 module (#25843)
Add base64 encode() and decode() functions to a vim.base64 module.
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 1d69b1cc91..aea19d7bf0 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -810,6 +810,28 @@ vim.json.encode({obj}) *vim.json.encode()* ============================================================================== +VIM.BASE64 *vim.base64* + +vim.base64.decode({str}) *vim.base64.decode()* + Decode a Base64 encoded string. + + Parameters: ~ + • {str} (string) Base64 encoded string + + Return: ~ + (string) Decoded string + +vim.base64.encode({str}) *vim.base64.encode()* + Encode {str} using Base64. + + Parameters: ~ + • {str} (string) String to encode + + Return: ~ + (string) Encoded string + + +============================================================================== VIM.SPELL *vim.spell* vim.spell.check({str}) *vim.spell.check()* |