tjdevries / vim9jit

a vim9script -> lua transpiler (written in Rust)
MIT License
510 stars 21 forks source link

Various improvements #32

Closed dundargoc closed 9 months ago

dundargoc commented 9 months ago

Closes: https://github.com/tjdevries/vim9jit/issues/28

This has a few advantages: we don't have to include the generated file in the source tree, and using include!() avoids rustfmt and other tools checking the file.

The location of the generated file can also be customized by setting OUT_DIR, but cargo picks an appropriate temporary place in the target/ directory by default.

Also set the default workspace members to the crates which have tests so I don't have to forget using --workspace all the time.

It uses nightly-only options, which have no effect on the output. The other options are already the default.