From 458410e955f68097337d5ae86c079d9bef562302 Mon Sep 17 00:00:00 2001
From: pml68 <contact@pml68.dev>
Date: Sun, 5 Jan 2025 22:54:30 +0100
Subject: fix(docker): rust-analyzer wasn't in Neovim's RTP

---
 Dockerfile.tex | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'Dockerfile.tex')

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"]
 
-- 
cgit v1.2.3

