aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-08-10 19:23:14 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-08-10 19:23:14 -0400
commit44e229dd9b4b4f461f5ff6a8bef941844335c378 (patch)
treecea637be968645973ed049829ecfe8af0ba835ab
parenta88896a26d3d8d7ce5750c0942b6ea394a654edb (diff)
downloadtextadept-44e229dd9b4b4f461f5ff6a8bef941844335c378.tar.gz
textadept-44e229dd9b4b4f461f5ff6a8bef941844335c378.zip
Updated LuaDoc.
-rw-r--r--modules/textadept/snippets.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua
index 52200c36..8f6185fd 100644
--- a/modules/textadept/snippets.lua
+++ b/modules/textadept/snippets.lua
@@ -10,7 +10,7 @@ local M = {}
--
-- Define snippets in the global `snippets` table in key-value pairs. Each pair
-- consists of either a string trigger word and its snippet text, or a string
--- lexer name (from the *lexers/* directory) with a table of trigger words and
+-- lexer name (from the *lexers/* directory) with a table of trigger words and
-- snippet texts. When searching for a snippet to insert based on a trigger
-- word, Textadept considers snippets in the current lexer to have priority,
-- followed by the ones in the global table. This means if there are two
@@ -23,7 +23,7 @@ local M = {}
--
-- Represents a placeholder, where *n* is an integer and *text* is default
-- placeholder text. Textadept moves the caret to placeholders in numeric order
--- each time it calls [`textadept.snippets._insert()`](), finishing at either
+-- each time it calls [`textadept.snippets.insert()`](), finishing at either
-- the "%0" placeholder if it exists or at the end of the snippet. Examples are
--
-- snippets['foo'] = 'foobar%1(baz)'