aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 983f57c..bfc8129 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -67,7 +67,7 @@ RUN rustup-init -y --default-toolchain none && \
# copy config files
COPY .bashrc .bashrc
-COPY . .config/nvim
+COPY --parents after ftplugin lsp lua spell init.lua .config/nvim/
FROM base
SHELL ["/bin/bash", "-c"]
@@ -76,7 +76,6 @@ RUN nvim --headless +"Lazy! sync" +qa; rm -rf /root/.cache
# symlink the clangd executable, since it can't be installed with mason
# 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
+RUN ln -sf /usr/bin/clangd /root/.local/share/nvim/mason/bin/clangd
ENTRYPOINT ["/bin/bash"]