add neovim package manager and dial.nvim
This commit is contained in:
parent
71cff1d913
commit
e1609c825f
3 changed files with 35 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
- name: Download Neovim PPA signing key
|
||||
become: true
|
||||
ansible.builtin.apt_key:
|
||||
apt_key:
|
||||
keyserver: keyserver.ubuntu.com
|
||||
id: 9DBB0BE9366964F134855E2255F96FCF8231B6DD
|
||||
keyring: /etc/apt/keyrings/neovim.gpg
|
||||
|
@ -18,3 +18,17 @@
|
|||
become: true
|
||||
apt:
|
||||
name: neovim
|
||||
- name: Create pack directory
|
||||
file:
|
||||
path: ~/.config/nvim/pack/packer/start
|
||||
state: directory
|
||||
recurse: true
|
||||
- name: Clone packer repository
|
||||
git:
|
||||
repo: https://github.com/wbthomason/packer.nvim
|
||||
dest: ~/.config/nvim/pack/packer/start/packer.nvim
|
||||
depth: 1
|
||||
- name: Copy init.lua
|
||||
copy:
|
||||
src: "{{ role_path }}/files/init.lua"
|
||||
dest: ~/.config/nvim/init.lua
|
||||
|
|
Reference in a new issue