diff options
author | 2021-12-13 10:21:32 -0500 | |
---|---|---|
committer | 2021-12-13 10:21:32 -0500 | |
commit | 0f9d6f917173b1a22559fc42d12bbfc9bf4e783c (patch) | |
tree | 9c1a8ba40dd7ff70c0bfe856dee128e9fea99f25 /test | |
parent | ce6d56a101cdde106e6fae360f26cee85229a922 (diff) |
Fixed attempted expansion of lexer name snippet that resolves to a table.
Diffstat (limited to 'test')
-rw-r--r-- | test/test.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test.lua b/test/test.lua index daffec91..a8c25164 100644 --- a/test/test.lua +++ b/test/test.lua @@ -3494,6 +3494,13 @@ function test_snippets_find_snippet() table.remove(textadept.snippets.paths, 1) end +function test_snippets_expand_lexer_name() + buffer.new() + buffer:add_text('lua') + assert(textadept.snippets.insert() == nil, 'snippet not inserted') + buffer:close(true) +end + function test_snippets_match_indentation() local snippet = '\t foo' -- LuaFormatter off |