vim/tasks.yaml
Kenneth Benzie (Benie) 5972ec6aa8 Switch over to managing plugins with Ansible
The `tasks.yaml` has been updated to include the new variables file
`plugins.yaml` which defines the `plugin_dir` and `plugins` variables.
These are in turn used by config/local> to manage the plugin list
outwith (neo)vim.
2022-11-08 13:57:02 +00:00

14 lines
318 B
YAML

---
- include_vars: plugins.yaml
- name: remove minpac directory
when: ansible_os_family != "Windows"
file:
path: '{{vim_config_dir}}/pack/minpac'
state: absent
- name: remove minpac directory
when: ansible_os_family == "Windows"
win_file:
path: '{{vim_config_dir}}/pack/minpac'
state: absent