aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
Commit message (Collapse)AuthorAgeFilesLines
* editorconfig: indent .xsl with 2 spacesPekka Paalanen3 days1-0/+5
| | | | | | | | | | | | | The XSL files are mostly indented with 2 spaces. Using the default editorconfig rules in VSCode constantly tries to mix in tabs. Add the 2-space rule for .xsl files to fix this. The .xsl files, like .xml files, use a tab character in place of 8 spaces. This complicates things, and the new rule will prefer just spaces. To keep the existing sometimes-tab-indented code looking right, the tab width must be explicitly set to 8. Signed-off-by: Pekka Paalanen <pq@iki.fi>
* editorconfig: add settings for the .gitlab-ci.yml filePeter Hutterer2020-06-051-0/+5
| | | | | | | | Different indentation and we don't want a fixed line length here, wrapping yaml is prone to introduce bugs. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
* Replace initial 8 spaces with a tab for all xml filesPeter Hutterer2020-04-291-1/+1
| | | | | | | | | This is the style used in wayland.xml which is the only file we really care about for git blame information. So let's adjust all others to that style for consistency and fix editorconfig to avoid messing this up in the future. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Update .editorconfig for PythonSimon Ser2019-09-061-0/+4
| | | | | | This uses the idiomatic Python indentation rules. Signed-off-by: Simon Ser <contact@emersion.fr>
* Add .editorconfigDrew DeVault2019-08-051-0/+15
This is copied from Weston