diff --git a/.vim/coc-settings.json b/.vim/coc-settings.json index 923e88f..eea4ad7 100644 --- a/.vim/coc-settings.json +++ b/.vim/coc-settings.json @@ -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": { diff --git a/bin/appimage/.gitignore b/bin/appimage/.gitignore index 5b3a0a6..e005b29 100644 --- a/bin/appimage/.gitignore +++ b/bin/appimage/.gitignore @@ -1 +1,2 @@ *.appimage +rust-analyzer-linux diff --git a/bin/appimage/rust-analyzer.sh b/bin/appimage/rust-analyzer.sh new file mode 100755 index 0000000..1ecc0e9 --- /dev/null +++ b/bin/appimage/rust-analyzer.sh @@ -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 diff --git a/bin/appimage/update_all.sh b/bin/appimage/update_all.sh index 4fc4a9b..43d00d0 100755 --- a/bin/appimage/update_all.sh +++ b/bin/appimage/update_all.sh @@ -1,4 +1,5 @@ #!/bin/sh +./rust-analyzer.sh ./nvim.sh ./obsidian.sh diff --git a/bin/rust-analyzer b/bin/rust-analyzer new file mode 120000 index 0000000..a847ab6 --- /dev/null +++ b/bin/rust-analyzer @@ -0,0 +1 @@ +./appimage/rust-analyzer-linux \ No newline at end of file