aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt32
1 files changed, 27 insertions, 5 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index ada07a71f8..596b58d4ff 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -3697,16 +3697,16 @@ totable({f}, {...}) *vim.iter.totable()*
==============================================================================
Lua module: vim.snippet *vim.snippet*
-active() *snippet.active()*
+vim.snippet.active() *vim.snippet.active()*
Returns `true` if there's an active snippet in the current buffer.
Return: ~
(boolean)
-exit() *snippet.exit()*
+vim.snippet.exit() *vim.snippet.exit()*
Exits the current snippet.
-expand({input}) *snippet.expand()*
+vim.snippet.expand({input}) *vim.snippet.expand()*
Expands the given snippet text. Refer to https://microsoft.github.io/language-server-protocol/specification/#snippet_syntax for the specification of valid input.
Tabstops are highlighted with hl-SnippetTabstop.
@@ -3714,7 +3714,7 @@ expand({input}) *snippet.expand()*
Parameters: ~
• {input} (string)
-jump({direction}) *snippet.jump()*
+vim.snippet.jump({direction}) *vim.snippet.jump()*
Jumps within the active snippet in the given direction. If the jump isn't
possible, the function call does nothing.
@@ -3732,7 +3732,7 @@ jump({direction}) *snippet.jump()*
• {direction} (vim.snippet.Direction) Navigation direction. -1 for
previous, 1 for next.
-jumpable({direction}) *snippet.jumpable()*
+vim.snippet.jumpable({direction}) *vim.snippet.jumpable()*
Returns `true` if there is an active snippet which can be jumped in the
given direction. You can use this function to navigate a snippet as
follows: >lua
@@ -3752,4 +3752,26 @@ jumpable({direction}) *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: