install neovim from PPA

fix zsh startup by removing asdf scripts
This commit is contained in:
Pim Kunis 2022-12-18 13:03:12 +01:00
parent a9143e842d
commit d2ea5d5771
6 changed files with 14 additions and 42 deletions

View file

@ -1,38 +1,10 @@
- name: Install prerequisite APT packages
# https://github.com/neovim/neovim/wiki/Building-Neovim#build-prerequisites
- name: Install Neovim PPA
become: true
apt_repository:
repo: ppa:neovim-ppa/unstable
state: present
- name: Install Neovim
become: true
apt:
state: latest
update_cache: yes
cache_valid_time: 86400 # One day
pkg:
- ninja-build
- gettext
- libtool
- libtool-bin
- autoconf
- automake
- cmake
- g++
- pkg-config
- unzip
- curl
- doxygen
- name: Pull neovim repository
become: true
git:
repo: https://github.com/neovim/neovim.git
dest: ~/neovim
- name: Build neovim
become: true
make:
chdir: ~/neovim
params:
CMAKE_BUILD_TYPE: RelWithDebInfo
changed_when: false # I lie a bit, but neovim makefile doesn't cooperate
- name: Install neovim
become: true
make:
chdir: ~/neovim
target: install
changed_when: false # Idem
name: neovim
state: present