]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - .editorconfig
Fix seg-fault in the DWARF reader code when accessing an abbreviatuin table with...
[thirdparty/binutils-gdb.git] / .editorconfig
1 # Copyright 2022 Free Software Foundation, Inc.
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 3 of the License, or
6 # (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16 # This file helps editors auto-configure whitespace settings.
17 #
18 # See here for more information about the format and editor support:
19 #
20 # https://editorconfig.org/
21
22 root = true
23
24 [*]
25 end_of_line = lf
26 insert_final_newline = true
27 tab_width = 8
28
29 # Makefile
30 [{Makefile*,*.mk}]
31 indent_style = tab
32 indent_size = 8
33
34 # C/C++
35 [*.{c,h,cc}]
36 indent_style = tab
37 indent_size = 2
38
39 # Expect / TCL
40 [*.{exp,tcl}]
41 indent_style = tab
42 indent_size = 4
43
44 # Python
45 [*.py]
46 indent_style = space
47 indent_size = 4