Mesa (main): editorconfig: Use 3-space tabs for .rst

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 22 17:41:05 UTC 2021


Module: Mesa
Branch: main
Commit: 2175cc3920e26e41ea980988ea465c7ad34bf24b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2175cc3920e26e41ea980988ea465c7ad34bf24b

Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue Jun 22 11:02:37 2021 -0500

editorconfig: Use 3-space tabs for .rst

This is what all the sphinx examples do and is what most of docs/
currently does.

Acked-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Reviewed-by: Connor Abbott <cwabbott0 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11529>

---

 .editorconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.editorconfig b/.editorconfig
index 3f9e475a6ac..a9c55b7b234 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -36,6 +36,10 @@ indent_size = 2
 indent_style = space
 indent_size = 2
 
+[*.rst]
+indent_style = space
+indent_size = 3
+
 [*.patch]
 trim_trailing_whitespace = false
 



More information about the mesa-commit mailing list