-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Add Scala support #188
Comments
To expand on the above. I've been reading through your files for various other languages I know but am still a bit stumped. I think the |
If you'd like to submit a WIP PR, I'd be happy to take a look and suggest fixes 👍
For something like splitting the contents of a function definition, I think you could use an argparser instead of a single regex, something like this: splitjoin.vim/autoload/sj/js.vim Lines 164 to 175 in dbcd306
So, something like "search backwards for a There might be complications with types, not sure, you could also take a look at https://github.com/AndrewRadev/splitjoin.vim/blob/main/autoload/sj/argparser/rust.vim for a custom parser implementation used for Rust struct definitions. |
Thanks so much @AndrewRadev. I'll try to get a WIP PR out this week for basic support. Appreciate the kind reply. |
Great plugin.
I primarily work in Scala these days however and I miss being able to use this plugin.
Namely I often have cause to turn this:
into...
or the reverse.
I forked & cloned this repo myself and have started poking around. I have some very basic Scala support going but still can't quite accomplish this. I'm okay at regex but I don't know I quite have the chops for some of what you do in here.
Would it be possible for me to open a WIP PR and get feedback from you or other contributors to realize some basic Scala support?
Thanks Andrew!
The text was updated successfully, but these errors were encountered: