From 44e229dd9b4b4f461f5ff6a8bef941844335c378 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 10 Aug 2020 19:23:14 -0400 Subject: Updated LuaDoc. --- modules/textadept/snippets.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/textadept') 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)' -- cgit v1.2.3