feat(stdlib): add vim.base64 module (#25843)

Add base64 encode() and decode() functions to a vim.base64 module.
This commit is contained in:
Gregory Anders
2023-10-31 09:15:32 -05:00
committed by GitHub
parent adbe7f3683
commit 224f303ee5
10 changed files with 448 additions and 1 deletions

12
src/nvim/lua/base64.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef NVIM_LUA_BASE64_H
#define NVIM_LUA_BASE64_H
#include <lauxlib.h>
#include <lua.h>
#include <lualib.h>
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "lua/base64.h.generated.h"
#endif
#endif // NVIM_LUA_BASE64_H