diff options
author | 2010-11-23 19:09:21 -0500 | |
---|---|---|
committer | 2010-11-23 19:09:21 -0500 | |
commit | 5f29cb8190dbee6bb10b4eb904c8c39750de352d (patch) | |
tree | ef9d178b4834087d829702d4894ec3b9330f3c0b /modules/textadept/snippets.lua | |
parent | 1f3bbef0357b89f82a65d1e67caa1980eee3f40b (diff) | |
download | textadept-5f29cb8190dbee6bb10b4eb904c8c39750de352d.tar.gz textadept-5f29cb8190dbee6bb10b4eb904c8c39750de352d.zip |
Code cleanup.
Also modified the editing module's enclose() and select_enclosed() functions.
Diffstat (limited to 'modules/textadept/snippets.lua')
-rw-r--r--[-rwxr-xr-x] | modules/textadept/snippets.lua | 3 |
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 |