Skip to content

Function node that depends on the last insert node #470

Answered by L3MON4D3
lacarthur asked this question in Q&A
Discussion options

You must be logged in to vote

This is pretty much correct, the problem is just that the i(0) is not really an insertNode, so luasnip cant find the node the fNode depends on, and therefore just does not run it :/ (there already are some issues about this which contain reasoning, I won't repeat that here).
I recall proposing a solution to a problem very similar to yours, could you try searching through old issues/discussions?
If you don't find anything I can look into this again :)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lacarthur
Comment options

@L3MON4D3
Comment options

Answer selected by lacarthur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants