add rust-analyzer to appimage downloads

This commit is contained in:
Barak Michener 2021-04-13 18:43:19 -07:00
parent 017eab1a02
commit df2ad52c99
5 changed files with 7 additions and 1 deletions

View file

@ -12,7 +12,7 @@
"python.analysis.typeCheckingMode": "off",
"suggest.detailField": "abbr",
"suggest.snippetIndicator": "",
"rust-analyzer.server.path": "~/bin/rust-analyzer",
"rust-analyzer.server.path": "rust-analyzer",
"rust-analyzer.inlayHints.enable": false,
"languageserver": {
"ccls": {

View file

@ -1 +1,2 @@
*.appimage
rust-analyzer-linux

3
bin/appimage/rust-analyzer.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
curl -LO https://github.com/rust-analyzer/rust-analyzer/releases/download/nightly/rust-analyzer-linux
chmod +x rust-analyzer-linux

View file

@ -1,4 +1,5 @@
#!/bin/sh
./rust-analyzer.sh
./nvim.sh
./obsidian.sh

1
bin/rust-analyzer Symbolic link
View file

@ -0,0 +1 @@
./appimage/rust-analyzer-linux