add nvim and lazynvim

This commit is contained in:
kekskurse 2024-04-28 22:44:50 +02:00
parent 15accba43f
commit 095bacfc05

View file

@ -20,6 +20,8 @@
- net-tools
- unzip
- btop
- neovim
- git
- name: Create swap file
command: dd if=/dev/zero of={{ swapfile_path }} bs=1M count={{ swapfile_size }}
@ -93,4 +95,17 @@
mode: '0770'
- name: Setup b2 client for backups
ansible.builtin.command: "b2 authorize_account {{ b2keyID }} {{ b2applicationKey }}"
ansible.builtin.command: "b2 authorize_account {{ b2keyID }} {{ b2applicationKey }}"
# Setup neovim
- name: Check if nviom config folder exists
stat:
path: "~/.config/nvim"
register: nvimConfig
- name: Git checkout
ansible.builtin.git:
repo: 'https://github.com/LazyVim/starter'
dest: '~/.config/nvim/'
when: not nvimConfig.state.exists