diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2022-01-27 15:15:08 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-01-28 08:25:42 -0500 |
commit | 459140adc0cbcf7ff5d389a195a3c9e34dd8282f (patch) | |
tree | 32828cc4ccec066ef0fdb8525f4551c1443ec550 /gdb | |
parent | 2f49159cfbf74fd8fed13e023c7e9e9c90a5b22d (diff) | |
download | gdb-459140adc0cbcf7ff5d389a195a3c9e34dd8282f.zip gdb-459140adc0cbcf7ff5d389a195a3c9e34dd8282f.tar.gz gdb-459140adc0cbcf7ff5d389a195a3c9e34dd8282f.tar.bz2 |
Add top-level .editorconfig file
Add a .editorconfig [1] file. This helps configure editors
automatically with the right whitespace settings. It will help me,
since I need to juggle with different whitespace settings for different
projects. But I think it can also help newcomers get things right from
the start.
Some editors have native support for reading these files, while others
require a plug-in [2]. And if you don't want to use it, then this file
doesn't change anything to your life.
I added rules for the kinds of files I edit most often, but more can be
added later. I assumed that the rules were the same for GDB and the
other projects, but if that's not the case, we can always put
.editorconfig files in project subdirectories to override settings.
[1] https://editorconfig.org/
[2] https://editorconfig.org/#download
Change-Id: Ifda136d13877fafcf0d137fec8501f6a34e1367b
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions