Skip to content
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

Special need to run rust code #22

Open
rust-kotlin opened this issue Nov 18, 2022 · 0 comments
Open

Special need to run rust code #22

rust-kotlin opened this issue Nov 18, 2022 · 0 comments

Comments

@rust-kotlin
Copy link

rust-kotlin commented Nov 18, 2022

Hey, I want to run rust code with this plugin.

The typical command is cargo run --bin test, which will compile and run the code stored in src/bin/test.rs.

So my need is to get the filename I am working on without the extension and the path.

I tried $fileBase but it will run the command cargo run --bin src/bin/test, which is not expected.

rust-kotlin added a commit to rust-kotlin/jaq-nvim that referenced this issue Nov 18, 2022
Add a new environment varialble to solve is0n#22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant