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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua
index bbf53c36..a99a51b8 100644
--- a/modules/textadept/snippets.lua
+++ b/modules/textadept/snippets.lua
@@ -294,7 +294,7 @@ M._snippet_mt = {
-- slightly different when `complete` true.
-- @param text Text to unescape.
-- @param complete Flag indicating whether or not to also remove the extra
- -- escape character '%'. Defaults to `false`.
+ -- escape character '%'. The default value is `false`.
unescape_text = function(text, complete)
text = text:gsub('\027.', escapes)
return complete and text:gsub('%%([%%%(%)>%]])', '%1') or text