aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
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"]