Skip to content

Is friendly-snippets a necessary dependence for luasnip? #1215

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

You must be logged in to vote

Hi :)

Luasnip itself does not add the prompt, we only handle manual expansion (so by typing the snippet trigger and pressing whatever key you've bound require("luasnip").expand to), for the list you need cmp_luasnip.
The pictures you show look more like a lsp-server with snippets disabled on the top, and one with snippets enabled on the bottom, but that's unrelated to expanding your own snippets.

Replies: 2 comments 7 replies

Comment options

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

@L3MON4D3
Comment options

Answer selected by prexhu
Comment options

You must be logged in to vote
5 replies
@L3MON4D3
Comment options

@ChenZhongPu
Comment options

@L3MON4D3
Comment options

@ChenZhongPu
Comment options

@ChenZhongPu
Comment options

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