How do you manage to get Scala 3 code snippets in NVim? #684
Unanswered
cruiztorresj
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hey @cruiztorresj, yes I do get snippets for Scala 3 Screen.Recording.2024-09-16.at.15.45.12.movSo I'm not 100% sure what's going wrong with your situation. Does your setup work for snippets in other languages or versions of Scala? |
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
-
Hello there all,
I've followed the example configuration you guys have over here, I am not sure if I did it right however. Because I am only getting Scala 2 syntax code snippets.
This is the configuration I have in place.
Ideally, I would like to have the kind of code completion Scastie offers you. It even detects the exhaustive cases when you are performing a match.
I am using
luasnip
instead, and drawing snippets from this plugin. This is the section related to Scala, and as you can see, all snippets being offered are related to Scala 2.I am not trying to promote myself but I streamed the whole process because I thought someone else may benefit from it. Here's a video of the above paragraphs.
So, how did you guys did it? Are you getting Scala 3 code completion assistance within NVim?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions