Add .editorconfig

This commit is contained in:
Anthony Rose 2023-06-04 09:50:26 +01:00
parent 152ddc0bac
commit 81e4e35724
2 changed files with 8 additions and 4 deletions

View file

@ -1,7 +1,7 @@
[*.{c,cpp,h}] [*]
indent_style = tab
indent_size = tab
tab_width = 8
charset = utf-8 charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
indent_style = space
indent_size = 4

View file

@ -49,6 +49,10 @@
ansible.builtin.copy: ansible.builtin.copy:
src: clang-format src: clang-format
dest: "{{ ansible_env.HOME }}/.clang-format" dest: "{{ ansible_env.HOME }}/.clang-format"
- name: Create $HOME/.editorconfig
ansible.builtin.copy:
src: editorconfig
dest: "{{ ansible_env.HOME }}/.editorconfig"
- name: Create $HOME/.local/bin/docutils-setup - name: Create $HOME/.local/bin/docutils-setup
ansible.builtin.copy: ansible.builtin.copy:
src: docutils-setup.sh src: docutils-setup.sh