aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/snippets.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/snippets.lua')
-rw-r--r--[-rwxr-xr-x]modules/textadept/snippets.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua
index 4d426532..95a80558 100755..100644
--- a/modules/textadept/snippets.lua
+++ b/modules/textadept/snippets.lua
@@ -34,6 +34,9 @@ module('_m.textadept.snippets', package.seeall)
-- and `lua`. Style names are different lexer styles, most of which are in
-- `lexers/lexer.lua`; examples are `whitespace`, `comment`, and `string`.
--
+-- Snippet text should contain spaces instead of tabs since Textadept
+-- automatically converts spaces to tabs depending on the current settings.
+--
-- ## Snippet Precedence
--
-- When searching for a snippet to expand in the `snippets` table, snippets in