-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat: preamble #212
feat: preamble #212
Conversation
@0atman Maybe you can experiment with this with your rust expertise. This PR adds the
Results in a rust buffer that looks exactly like the https://doc.rust-lang.org/cargo/reference/unstable.html#script example. See However, I'm unable to get rust-analyzer to initialize without a complete cargo project around this. |
oh amazing, yeah, let me test this now |
I've run this branch locally, and can confirm the same behaviour here. Reading the Rustaceanvim readme:
I think |
Alternative implementation idea: Could otter accept a specially-formatted rust code block (same as cargo script's I imagine this won't be the only language that would be useful to have such a process in place for a project config file! |
Refs
#99
#210
#208