Use Linux system packages for neovim python integration

This commit is contained in:
Kenneth Benzie 2023-06-02 19:12:21 +01:00
parent 30e28dc319
commit ab96a7d8c6
5 changed files with 13 additions and 8 deletions

View File

@ -1,7 +1,11 @@
---
- name: install homebrew packages
homebrew:
name: neovim
name:
- neovim
state: latest
- set_fact:
neovim_pip_packages: '{{neovim_pip_packages + ["pynvim"]}}'
- include_tasks: Unix.yaml

View File

@ -10,7 +10,9 @@
- name: install apt package
become: true
apt:
name: neovim
name:
- neovim
- python3-neovim
state: latest
- include_tasks: Unix.yaml

View File

@ -1,8 +1,10 @@
---
- name: install yum package
- name: install dnf package
become: true
yum:
name: neovim
dnf:
name:
- neovim
- python3-neovim
state: latest
- include_tasks: Unix.yaml

View File

@ -8,8 +8,6 @@
dest: '{{vim_config_dir}}'
version: master
# TODO: - name: set repo email
- name: install pip packages
pip:
name: '{{neovim_pip_packages}}'

View File

@ -3,6 +3,5 @@ neovim_pip_packages:
- cmake-language-server
- cmakelint
- compdb
- pynvim
- vim-vint
- yamllint