install neovim
This commit is contained in:
parent
c12fe77a48
commit
6d34fe9903
3 changed files with 38 additions and 3 deletions
|
@ -61,6 +61,16 @@
|
|||
- libxml2-utils
|
||||
- libncurses-dev
|
||||
- openjdk-11-jdk
|
||||
# Neovim stuff: https://github.com/neovim/neovim/wiki/Building-Neovim#build-prerequisites
|
||||
- ninja-build
|
||||
- gettext
|
||||
- libtool
|
||||
- libtool-bin
|
||||
- automake
|
||||
- cmake
|
||||
- g++
|
||||
- pkg-config
|
||||
- doxygen
|
||||
- name: Set default shell to zsh
|
||||
become: true
|
||||
user:
|
||||
|
@ -96,3 +106,24 @@
|
|||
- name: Install VSCodium extensions
|
||||
shell: "codium --install-extension {{ item }}"
|
||||
loop: "{{ vscodium_extensions | difference(ansible_facts.ansible_local.vscodium_extensions) }}"
|
||||
- name: Create git repository directory
|
||||
file:
|
||||
path: ~/repos
|
||||
state: directory
|
||||
- name: Pull neovim repository
|
||||
git:
|
||||
repo: https://github.com/neovim/neovim.git
|
||||
dest: ~/repos/neovim
|
||||
version: stable
|
||||
- name: Build neovim
|
||||
make:
|
||||
chdir: ~/repos/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: "/home/{{ ansible_user_id }}/repos/neovim"
|
||||
target: install
|
||||
changed_when: false # Idem
|
||||
|
|
Reference in a new issue