How to get /snippets to work #781
Replies: 1 comment 1 reply
-
Solved? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Latest Neovim, blink and setup via LazyVim. I created a ~/.config/nvim/snippets directory and copied the rails.json from the friendly-snippets plugin extras. When I open a ruby file and try out the prefix "ba" (the first in the provided snippets) I do not get any response about before_action, but instead just get ruby snippet options. I am curious as to what else I need to do to enable these extra snippets. The instructions here snippets reads to me like I can just copy the JSON into that created directory and it would work, as blink looks in that directory for any snippets by default.
Can anyone help me get it to work and inform me of the folly of my ways?
Beta Was this translation helpful? Give feedback.
All reactions