From 458410e955f68097337d5ae86c079d9bef562302 Mon Sep 17 00:00:00 2001 From: pml68 Date: Sun, 5 Jan 2025 22:54:30 +0100 Subject: fix(docker): rust-analyzer wasn't in Neovim's RTP --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 4e1c3d3..4aeaba3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,6 +46,7 @@ WORKDIR /root RUN nvim --headless +"Lazy! sync" +qa; rm -rf /root/.cache # symlink the clangd executable, since it can't be installed with mason -RUN ln -sf /usr/bin/clangd /root/.local/share/nvim/mason/bin/clangd +# also symlink rust-analyzer +RUN ln -sf /usr/bin/clangd /root/.local/share/nvim/mason/bin/clangd && ln -sf /root/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/bin/rust-analyzer /root/.local/share/nvim/mason/bin/rust-analyzer ENTRYPOINT ["/bin/bash"] -- cgit v1.2.3