Add Sublime Text preferences

This commit is contained in:
Anthony Rose 2020-02-12 12:11:29 +00:00
parent 7f8f753037
commit bcf45726bf
3 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,5 @@
{
"tab_size": 8,
"wrap_width": 78,
"rulers": [78],
}

View file

@ -6,3 +6,4 @@
- include: firefox.yml
- include: mate.yml
when: ansible_system != 'Linux'
- include: sublimetext.yml

View file

@ -0,0 +1,10 @@
---
- name: Check for Sublime Text directory
stat:
path: "{{ ansible_env.HOME }}/.config/sublime-text-3/Packages/User"
register: sublime
- name: Copy Sublime Text preferences
copy:
src: Preferences.sublime-settings
dest: "{{ ansible_env.HOME }}/.config/sublime-text-3/Packages/User/Preferences.sublime-settings"
when: sublime.stat.exists