aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.tex')
-rw-r--r--Dockerfile.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile.tex b/Dockerfile.tex
index a924947..46a5ed9 100644
--- a/Dockerfile.tex
+++ b/Dockerfile.tex
@@ -58,7 +58,8 @@ 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"]