[feature] vscode debugging
This commit is contained in:
parent
1aeb63c00d
commit
7fefe3fd56
|
@ -34,10 +34,13 @@ if [ ! -f "$HOME/.cargo/bin/rustup" ]; then
|
||||||
curl -sSf https://cdn.jsdelivr.net/gh/rust-lang-nursery/rustup.rs/rustup-init.sh | sh
|
curl -sSf https://cdn.jsdelivr.net/gh/rust-lang-nursery/rustup.rs/rustup-init.sh | sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if has_cmd fish; then
|
echo "Please add follow line to your .profile"
|
||||||
echo "
|
echo 'export PATH=$HOME/.cargo/env:$PATH'
|
||||||
source $HOME/.cargo/env
|
|
||||||
" | sed 's/^ *//' > "$XDG_CONFIG_HOME/fish/conf.d/cargo.fish"
|
if has_cmd code; then
|
||||||
|
echo "install following extension for VSCode debugging:"
|
||||||
|
echo " rust"
|
||||||
|
echo " codelldb"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# coc.nvim
|
# coc.nvim
|
||||||
|
|
Loading…
Reference in New Issue
Block a user