mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
languages/rust: add rust-script
and cargo
shebangs (#10484)
The former is one of the more popular forks of the original idea: https://rust-script.org/ The latter is an RFC for folding that functionality into cargo itself, available on nightly: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#script
This commit is contained in:
parent
69e08d9e91
commit
36ee9ba7d6
@ -202,6 +202,7 @@ scope = "source.rust"
|
||||
injection-regex = "rust"
|
||||
file-types = ["rs"]
|
||||
roots = ["Cargo.toml", "Cargo.lock"]
|
||||
shebangs = ["rust-script", "cargo"]
|
||||
auto-format = true
|
||||
comment-tokens = ["//", "///", "//!"]
|
||||
block-comment-tokens = [
|
||||
|
Loading…
Reference in New Issue
Block a user