mirror of https://github.com/L3MON4D3/LuaSnip
d9cb6ab976
Before this, upon expanding a new snippet, its jumps were linked up with the currently active node, no matter its position in the buffer. The most prominent negative side-effect of this is jumping all over the buffer if a snippet is not jumped "through" (ie. to its $0). This finally adresses this properly by inserting snippets into nodes according to their position in the buffer. Read the changes to `DOC.md` for more info. This commit also deprecates `history` in `setup`, prefer the new options `keep_roots`, `link_roots`, and `link_children`, as they are more readable. Still, it is very unlikely that compatibility with `history` will ever be completely removed, so no need to fret about this. |
||
---|---|---|
.. | ||
snippets.lua |