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

25 lines
470 B
YAML

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