aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2023-11-16 11:35:54 -0600
committerGitHub <noreply@github.com>2023-11-16 11:35:54 -0600
commit4bf47222c973c4bc935d6fde106329f8a0e103e3 (patch)
tree0907dba93d28f3ec0fde9cc15efb4e9cdd7ffef4 /runtime/doc/lua.txt
parentb4b7ca2d548a1cc1a2cd8c48e5c93478811bd275 (diff)
downloadrneovim-4bf47222c973c4bc935d6fde106329f8a0e103e3.tar.gz
rneovim-4bf47222c973c4bc935d6fde106329f8a0e103e3.tar.bz2
rneovim-4bf47222c973c4bc935d6fde106329f8a0e103e3.zip
feat: add vim.text module (#26069)
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index db240e8b75..596b58d4ff 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -3752,4 +3752,26 @@ vim.snippet.jumpable({direction}) *vim.snippet.jumpable()*
Return: ~
(boolean)
+
+==============================================================================
+Lua module: vim.text *vim.text*
+
+vim.text.hexdecode({enc}) *vim.text.hexdecode()*
+ Hex decode a string.
+
+ Parameters: ~
+ • {enc} (string) String to decode
+
+ Return: ~
+ (string) Decoded string
+
+vim.text.hexencode({str}) *vim.text.hexencode()*
+ Hex encode a string.
+
+ Parameters: ~
+ • {str} (string) String to encode
+
+ Return: ~
+ (string) Hex encoded string
+
vim:tw=78:ts=8:sw=4:sts=4:et:ft=help:norl: