add nvim and lazynvim
This commit is contained in:
parent
15accba43f
commit
095bacfc05
1 changed files with 16 additions and 1 deletions
|
@ -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 }}
|
||||
|
@ -94,3 +96,16 @@
|
|||
|
||||
- name: Setup b2 client for backups
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue