aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2025-12-29 11:10:19 +0200
committerPekka Paalanen <pq@iki.fi>2025-12-29 11:15:10 +0200
commit5b59b34a2732348204d1affccc02fcac5affe255 (patch)
tree5b334506cb20e9acb9b93d8563176ba2f9d6a4ca
parenttests/event-loop-test: Remove event loop timer test (diff)
downloadwayland-5b59b34a2732348204d1affccc02fcac5affe255.tar
wayland-5b59b34a2732348204d1affccc02fcac5affe255.tar.gz
wayland-5b59b34a2732348204d1affccc02fcac5affe255.tar.bz2
wayland-5b59b34a2732348204d1affccc02fcac5affe255.tar.lz
wayland-5b59b34a2732348204d1affccc02fcac5affe255.tar.xz
wayland-5b59b34a2732348204d1affccc02fcac5affe255.tar.zst
wayland-5b59b34a2732348204d1affccc02fcac5affe255.zip
editorconfig: indent .xsl with 2 spaces
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>
-rw-r--r--.editorconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index d92e5e9..cd9aa7f 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -14,6 +14,11 @@ indent_style = tab
indent_size = 2
tab_width = 8
+[*.xsl]
+indent_style = space
+indent_size = 2
+tab_width = 8
+
[*.py]
indent_style = space
indent_size = 4