You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In LuaSnip, it is possible to extend snippets for file types with snippets from other file types, eg. ls.filetype_extend("python", { "all" }) to enable all snippets for python. Currently, the blink LuaSnip source does not pick up on these extensions because ls.get_snippets(ft) does not follow extensions. cmp_luasnip solves this by first fetching relevant snippet filetypes and then iterating over all of them: https://github.com/saadparwaiz1/cmp_luasnip/blob/98d9cb5c2c38532bd9bdb481067b20fea8f32e90/lua/cmp_luasnip/init.lua#L67
Make sure you have done the following
blink.cmp
Bug Description
In LuaSnip, it is possible to extend snippets for file types with snippets from other file types, eg.
ls.filetype_extend("python", { "all" })
to enableall
snippets forpython
. Currently, the blink LuaSnip source does not pick up on these extensions becausels.get_snippets(ft)
does not follow extensions. cmp_luasnip solves this by first fetching relevant snippet filetypes and then iterating over all of them: https://github.com/saadparwaiz1/cmp_luasnip/blob/98d9cb5c2c38532bd9bdb481067b20fea8f32e90/lua/cmp_luasnip/init.lua#L67Relevant configuration
neovim version
nightly
blink.cmp
version: branch, tag, or commitv0.7.6
The text was updated successfully, but these errors were encountered: