mirror of
https://github.com/neovim/neovim.git
synced 2026-05-07 17:00:14 -04:00
65b40e69ac
Problem:
- Not obvious which _meta/ are generated and which should be edited
manually.
- The require guard (`error('Cannot require a meta file')`) is not
consistently present in all meta files.
Solution:
- Update headers.
- Add require() guard to all meta files.
- Rename generated meta files with `.gen.lua`.
18 lines
416 B
Lua
18 lines
416 B
Lua
--- @meta
|
|
-- This file is NOT generated, edit it directly.
|
|
error('Cannot require a meta file')
|
|
|
|
vim.base64 = {}
|
|
|
|
--- Encode {str} using Base64.
|
|
---
|
|
--- @param str string String to encode
|
|
--- @return string : Encoded string
|
|
function vim.base64.encode(str) end
|
|
|
|
--- Decode a Base64 encoded string.
|
|
---
|
|
--- @param str string Base64 encoded string
|
|
--- @return string : Decoded string
|
|
function vim.base64.decode(str) end
|