Replies: 3 comments 3 replies
-
I just fixed the issue for myself, what you need to do Is create a file for the luasnip plugin, then load the friendly-snippets from there. the load times for the snippets are a little slow because of it now, but it's still better than the default.
and type something like this in the snippets section:
you can check the full neovim config in my dot-files |
Beta Was this translation helpful? Give feedback.
-
@ddogfoodd The link in the friendly-snippets Wiki seems outdated. I found the To resolve this, you can copy the snippet from the old |
Beta Was this translation helpful? Give feedback.
-
I found my problem, it is unrelated to blink-cmp. Instead it is related to an experimental performance option for Nixvim (Neovim via Nix), see this error: nix-community/nixvim#2746. Now that snippets work for me, I can confirm that friendly-snippets should work without any extra config of blink-cmp. |
Beta Was this translation helpful? Give feedback.
-
I am not getting snippet completions and am wondering why.
Just to make sure I understood correctly, friendly-snippets should be enabled and suggested by default right? So when I create let's say a Python file and type
enc
blink should suggest the snippet as seen in friendly-snippets WIki.Or do I have to add
"snippets"
tosources
orsnippets.preset = "default"
or anything to the blink config?Do I have to install any other snippet plugin e.g.
luasnip
for snippets to appear?If it should work without any extra config and additional plugins (except friendly-snippets), there might be a problem with loading friendly-snippets on NixOS I assume.
Beta Was this translation helpful? Give feedback.
All reactions