Skip to content
Discussion options

You must be logged in to vote

Uhh nice, a usecase for absolute_indexer :D
Passing (with local ai = require("luasnip.nodes.absolute_indexer")) ai[1] instead of 1 should do the trick.
Check in DOC.md or :h luasnip-absolute_indexer for more info

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@axieax
Comment options

@L3MON4D3
Comment options

@axieax
Comment options

@L3MON4D3
Comment options

@axieax
Comment options

Answer selected by axieax
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