aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/snippet.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-05-02 15:57:21 +0200
committerJustin M. Keyes <justinkz@gmail.com>2024-05-15 23:19:26 +0200
commit01b6bff7e9bc751be20ce7bb68e7ebe3037441de (patch)
treee4ce03135ae778fc846af197d53862f1ad7f68ae /runtime/lua/vim/snippet.lua
parentcdd87222c86c5b2274a13d36f23de0637462e317 (diff)
downloadrneovim-01b6bff7e9bc751be20ce7bb68e7ebe3037441de.tar.gz
rneovim-01b6bff7e9bc751be20ce7bb68e7ebe3037441de.tar.bz2
rneovim-01b6bff7e9bc751be20ce7bb68e7ebe3037441de.zip
docs: news
Set dev_xx.txt help files to use "flow" layout.
Diffstat (limited to 'runtime/lua/vim/snippet.lua')
-rw-r--r--runtime/lua/vim/snippet.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/lua/vim/snippet.lua b/runtime/lua/vim/snippet.lua
index 2d95d4203d..3d8f73f362 100644
--- a/runtime/lua/vim/snippet.lua
+++ b/runtime/lua/vim/snippet.lua
@@ -532,10 +532,9 @@ end
--- @alias vim.snippet.Direction -1 | 1
---- Jumps within the active snippet in the given direction.
---- If the jump isn't possible, the function call does nothing.
+--- Jumps to the next (or previous) placeholder in the current snippet, if possible.
---
---- You can use this function to navigate a snippet as follows:
+--- For example, map `<Tab>` to jump while a snippet is active:
---
--- ```lua
--- vim.keymap.set({ 'i', 's' }, '<Tab>', function()