From 4ebe9b775909dca0b1d8f1753d76eadcf80bf175 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 12 Aug 2021 16:55:43 -0700 Subject: [PATCH] Add Git configuration files to template .editorconfig The `.gitmodules` file defines the properties of a repository's submodules. The file automatically generated by Git submodule commands use tabs for indentation. It uses the same file format as the Git configuration file (e.g., `.gitconfig`). Even though the `.gitconfig` file is not likely to be found under the repository tree, it's possible the `.editorconfig` might end up being used outside the project specific scope so I added it to the file pattern. --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 172e714c..eda85443 100644 --- a/.editorconfig +++ b/.editorconfig @@ -55,3 +55,6 @@ indent_style = space [*.{yaml,yml}] indent_size = 2 indent_style = space + +[{.gitconfig,.gitmodules}] +indent_style = tab