aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/snippets.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/snippets.lua')
-rw-r--r--modules/textadept/snippets.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua
index 4c3ccc33..5d4b26d2 100644
--- a/modules/textadept/snippets.lua
+++ b/modules/textadept/snippets.lua
@@ -124,9 +124,9 @@ end
---
-- Inserts snippet text *text* or the snippet assigned to the trigger word
--- behind the caret or, if a snippet is active, goes to the active snippet's
--- next placeholder.
--- Returns `false` if no action was taken.
+-- behind the caret.
+-- Otherwise, if a snippet is active, goes to the active snippet's next
+-- placeholder. Returns `false` if no action was taken.
-- @param text Optional snippet text to insert. If `nil`, attempts to insert a
-- new snippet based on the trigger, the word behind caret, and the current
-- lexer.
@@ -169,7 +169,7 @@ function M._cancel_current()
end
---
--- Prompts the user to select a snippet to insert from a list of global and
+-- Prompts the user to select a snippet to be inserted from a list of global and
-- language-specific snippets.
-- @name _select
function M._select()