We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1f8287 commit 426880cCopy full SHA for 426880c
tasks/vim.yml
@@ -10,6 +10,15 @@
10
state: "absent"
11
when: "'neovim' in ansible_facts.packages"
12
13
+- name: "Ensure init.vim exists"
14
+ ansible.builtin.file:
15
+ path: "{{ lookup('env', 'HOME') }}/.config/nvim/init.vim"
16
+ state: touch
17
+ owner: "{{ ansible_user_id }}"
18
+ group: "{{ ansible_user_gid }}"
19
+ mode: '0644'
20
+ when: "'neovim' in ansible_facts.packages and (disable_neovim_mouse_support | default(false))"
21
+
22
- name: "Disable mouse support in neovim"
23
ansible.builtin.lineinfile:
24
path: "{{ lookup('env', 'HOME') }}/.config/nvim/init.vim"
0 commit comments