bin/setup-rust

Tue, 21 Apr 2020 22:00:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 21 Apr 2020 22:00:13 -0500
changeset 855
3123a01b8e73
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

Don't stopinsert if completing - bad interaction with vim-lsp omni preview

#!/bin/bash
set -eu -o pipefail

if rustup update; then
  exit
fi

curl https://sh.rustup.rs -sSf | sh
source ~/.cargo/env
rustup component add rls rustfmt

mercurial