Age | Commit message (Collapse) | Author |
|
|
|
Snippet prev/next coupled with subsequent edits may cause the buffer to contain
an unexpected snippet placeholder. Handle it gracefully.
|
|
Lua 5.3 made them optional and LuaJIT support has been dropped.
|
|
Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax.
|
|
|
|
|
|
|
|
Ensure snippet start position is as far back as possible.
|
|
|
|
|
|
Thanks to Michael Richter for the idea.
|
|
|
|
|
|
It is currently not possible to escape `<` and `[` immediately after a `%n`
mirror.
|
|
|
|
Do not use `ipairs()` and use more consistent variable names among other things.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also fixed a small bug and documentation.
|
|
|
|
|
|
They are often seen in XML snippets and escaping would be tedious.
|
|
It's possible for the `updated` parameter to be `nil`; handle it.
|
|
|
|
|
|
|
|
|
|
LuaJIT uses Lua 5.3's new utf8 library.
Restored documentation for Lua 5.1 symbols and added deprecation notes.
|
|
|
|
Ensure the result of snippets[name] is not a table.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
As a result, removed `ui.filteredlist()` and changed `io.open_file()` and
`io.snapopen()` APIs to accept tables of files and paths instead of "\n"
delimited strings.
|
|
Also removed more unused constants.
|
|
|
|
A side effect is more efficient event emission during startup.
|
|
|
|
|