dotfiles/playbooks/roles/neovim/tasks/main.yml

25 lines
443 B
YAML

---
- name: Ensure neovim config directory exists
file:
path: ~/.config/nvim/
state: directory
- name: Symlink init.vim
file:
src: ~/.dotfiles/nvim/init.lua
dest: ~/.config/nvim/init.lua
state: link
force: yes
- name: Symlink fnl directory
file:
src: ~/.dotfiles/nvim/fnl
dest: ~/.config/nvim/fnl
state: link
force: yes
- name: Create undodir
file:
path: ~/.undodir
state: directory