aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.tex
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-01-05 22:54:30 +0100
committerpml68 <contact@pml68.dev>2025-01-05 22:54:30 +0100
commit458410e955f68097337d5ae86c079d9bef562302 (patch)
tree660a9c4b04837fe25e975235bae40419f061ff41 /Dockerfile.tex
parentfix(ci): manifest missing from GitHub package (diff)
downloadnvim-458410e955f68097337d5ae86c079d9bef562302.tar.gz
fix(docker): rust-analyzer wasn't in Neovim's RTP
Diffstat (limited to '')
-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"]