orbitalquark / textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
https://orbitalquark.github.io/textadept
MIT License
636 stars 38 forks source link

[nightly] "Insert Snippet..." fails with error if no snippets are defined #414

Closed pippi1otta closed 1 year ago

pippi1otta commented 1 year ago
/usr/share/textadept/modules/textadept/snippets.lua:775: bad argument #1 to 'list' (non-empty 'items' table expected)

In 11.4 the Insert Snippet dialog does show up (with empty list).

orbitalquark commented 1 year ago

Thanks for the report! Fixed via https://github.com/orbitalquark/textadept/commit/934ece9d5b0011bac8149b39b2145ca76a0934cd