summaryrefslogtreecommitdiff
path: root/plugins/rust
AgeCommit message (Collapse)Author
2022-03-28chore: removing old completion code (#10616)Carlo Sala
2022-01-08fix(rust): fix `cargo` completion when sysroot contains spaces (#10571)Joey Territo
When generating completions for Cargo, if the Rust sysroot (i.e. `rustc +${${(z)$(rustup default)}[1]} --print sysroot`) contains spaces, Cargo completions will not work because the spaces are not escaped, thus passing two arguments to the "source" command instead of one. The spaces need to be escaped for this to work.
2022-01-05style: declare globals properlyMarc Cornellà
By default, `typeset` defines variables locally unless in the main scope. This is specially bad when using `omz plugin load`, which happens inside a function, so the declared variables don't continue being defined when the function finishes and the main scope reappears.
2021-12-29fix(rust): use default toolchain when completing `cargo`Marc Cornellà
2021-12-28refactor(rust)!: merge `cargo` and `rustup` plugins into `rust` plugin (#10270)Carlo Sala
BREAKING CHANGE: `cargo` and `rustup` plugins have been moved to the `rust` plugin since they're part of the Rust toolchain. If you're using these, update your .zshrc file to use `rust` instead. Closes #10270 Co-authored-by: Marc Cornellà <hello@mcornella.com>
2019-10-10Delete alias sectionMarc Cornellà
2019-10-10add readme for the rust pluginjotaro-sama
2018-05-01Correctly handle verbose/version flags for rustc (#6786)Joseph Richey
See the help output for rustc (v1.25)
2017-11-01Update rust plugin for latest rustc (#6342)bjorn3
* Update for latest rustc * Some debug option updates * Add some cargo flags * Fix bug in cargo plugin
2016-05-28Add zsh completion plugin for rustc (#3159)Alex Light