Skip to content
Prev Previous commit
Next Next commit
Add .gitconfig file type to .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.
  • Loading branch information
per1234 committed Sep 2, 2021
commit 80ee25da588f765dacef7ed89b0402bb5f9a7ee2
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ indent_style = space
indent_size = 2
indent_style = space

[.gitmodules]
[{.gitconfig,.gitmodules}]
indent_style = tab