diff options
| author | pml68 <contact@pml68.dev> | 2025-01-05 00:16:22 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-01-05 00:16:22 +0100 |
| commit | 6d805c118dc79b73d174d78639c77429ca4c2647 (patch) | |
| tree | 2410e38baf779a5b0a6e6c23178da5c1f51df662 | |
| parent | fix: revert to rust.vim, fix weird cmp behavior (diff) | |
| download | nvim-6d805c118dc79b73d174d78639c77429ca4c2647.tar.gz | |
feat: switch to nightly rust-analyzer from rustup
| -rw-r--r-- | Dockerfile | 2 | ||||
| -rw-r--r-- | Dockerfile.tex | 2 | ||||
| -rw-r--r-- | lua/pml68/configs/mason.lua | 1 |
3 files changed, 2 insertions, 3 deletions
@@ -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", |
