add ansible lsp, update bashrc examples

This commit is contained in:
Maciej Lebiest 2023-07-16 14:23:44 +02:00
parent 1d046edf88
commit 75f06d897c
3 changed files with 27 additions and 18 deletions

View file

@ -48,7 +48,10 @@ ENV MASON_PKGS=" \
sqlls \
typescript-language-server \
yaml-language-server \
markdownlint"
markdownlint\
ansiblels"
ENV PIP_PKGS = "pynvim ansible ansible-lint"
COPY . /root/.config/nvim
# install system dependencies
@ -56,7 +59,7 @@ RUN dnf install -y \
${GENERAL_PKGS} ${NEOVIM_PKGS} ${PYTHON_DEVEL_PKGS} ${PERL_DEVEL_PKGS} \
&& dnf clean all && \
cpanm PLS && \
pip install pynvim
pip install ${PIP_PKGS}
RUN rm /root/.config/nvim/lazy-lock.json || true
# install lsp and linters using mason