Use Linux system packages for neovim python integration

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

View File

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

View File

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

View File

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

View File

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

View File

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