Mercurial > hg-stable
comparison .editorconfig @ 45411:c25efc468a49
mercurial: force LF endings for *.py, *.{c,h} and *.t in .editorconfig
PyCharm on Windows otherwise uses CRLF.
Differential Revision: https://phab.mercurial-scm.org/D8947
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 24 Aug 2020 12:39:48 -0400 |
parents | 1d6066336d7b |
children |
comparison
equal
deleted
inserted
replaced
45410:8b700e9b9fc2 | 45411:c25efc468a49 |
---|---|
4 | 4 |
5 [*.py] | 5 [*.py] |
6 indent_size = 4 | 6 indent_size = 4 |
7 indent_style = space | 7 indent_style = space |
8 trim_trailing_whitespace = true | 8 trim_trailing_whitespace = true |
9 end_of_line = lf | |
9 | 10 |
10 [*.{c,h}] | 11 [*.{c,h}] |
11 indent_size = 8 | 12 indent_size = 8 |
12 indent_style = tab | 13 indent_style = tab |
13 trim_trailing_whitespace = true | 14 trim_trailing_whitespace = true |
15 end_of_line = lf | |
14 | 16 |
15 [*.t] | 17 [*.t] |
16 indent_size = 2 | 18 indent_size = 2 |
17 indent_style = space | 19 indent_style = space |
18 trim_trailing_whitespace = false | 20 trim_trailing_whitespace = false |
21 end_of_line = lf |