From 6d805c118dc79b73d174d78639c77429ca4c2647 Mon Sep 17 00:00:00 2001 From: pml68 Date: Sun, 5 Jan 2025 00:16:22 +0100 Subject: feat: switch to nightly rust-analyzer from rustup --- Dockerfile | 2 +- Dockerfile.tex | 2 +- lua/pml68/configs/mason.lua | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index eda80f7..4e1c3d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ RUN apk add --no-cache wget \ RUN git clone --filter=blob:none https://github.com/folke/lazy.nvim.git --branch=stable /root/.local/share/nvim/lazy/lazy.nvim # set up Rust -RUN rustup-init -y --default-toolchain none && /root/.cargo/bin/rustup toolchain install nightly --allow-downgrade --profile minimal --component rustfmt,rust-src,clippy && echo -e "[unstable]\ngc = true" > /root/.cargo/config.toml +RUN rustup-init -y --default-toolchain none && /root/.cargo/bin/rustup toolchain install nightly --allow-downgrade --profile minimal --component rustfmt,rust-src,clippy,rust-analyzer && echo -e "[unstable]\ngc = true" > /root/.cargo/config.toml # copy config files COPY .bashrc .bashrc diff --git a/Dockerfile.tex b/Dockerfile.tex index 54654e0..a924947 100644 --- a/Dockerfile.tex +++ b/Dockerfile.tex @@ -46,7 +46,7 @@ RUN apk add --no-cache texlive \ RUN git clone --filter=blob:none https://github.com/folke/lazy.nvim.git --branch=stable /root/.local/share/nvim/lazy/lazy.nvim # set up Rust -RUN rustup-init -y --default-toolchain none && /root/.cargo/bin/rustup toolchain install nightly --allow-downgrade --profile minimal --component rustfmt,rust-src,clippy && echo -e "[unstable]\ngc = true" > /root/.cargo/config.toml +RUN rustup-init -y --default-toolchain none && /root/.cargo/bin/rustup toolchain install nightly --allow-downgrade --profile minimal --component rustfmt,rust-src,clippy,rust-analyzer && echo -e "[unstable]\ngc = true" > /root/.cargo/config.toml # copy config files COPY .bashrc .bashrc diff --git a/lua/pml68/configs/mason.lua b/lua/pml68/configs/mason.lua index 0f87a8e..48ee6c9 100644 --- a/lua/pml68/configs/mason.lua +++ b/lua/pml68/configs/mason.lua @@ -14,7 +14,6 @@ return { "css-lsp", "typescript-language-server", "pyright", - "rust-analyzer", "glsl_analyzer", "kotlin-language-server", "jdtls", -- cgit v1.2.3