From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 67A3115864F for ; Sat, 25 Mar 2023 03:00:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B45C5E0867; Sat, 25 Mar 2023 03:00:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E022E0867 for ; Sat, 25 Mar 2023 03:00:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC0A1341060 for ; Sat, 25 Mar 2023 03:00:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3624C935 for ; Sat, 25 Mar 2023 03:00:02 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1679713197.3f460fbebaf8f2acaf1a7b132d1eb97f089c1a13.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: / X-VCS-Repository: repo/gentoo X-VCS-Files: .editorconfig X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3f460fbebaf8f2acaf1a7b132d1eb97f089c1a13 X-VCS-Branch: master Date: Sat, 25 Mar 2023 03:00:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b55de285-f2f7-4d9a-bc1d-36d8828a4f93 X-Archives-Hash: af5a668a9ab291be10c0b19307358c81 commit: 3f460fbebaf8f2acaf1a7b132d1eb97f089c1a13 Author: Sam James gentoo org> AuthorDate: Fri Mar 24 02:11:34 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 25 02:59:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f460fbe .editorconfig: add This allows conveniently editing ebuilds and eclasses in editors which don't have a specific ebuild mode like Emacs and Vim do. For example, kde-apps/kate with kde-frameworks/ktexteditor[editorconfig] can automatically read this file and adjust settings appropriately. It's possible that going forward we may want to have pkgdev support custom keys in this file for e.g. copyright year mangling too. Signed-off-by: Sam James gentoo.org> .editorconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000000..7d6e17345e1e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# https://editorconfig.org/ +root = true + +[*.{ebuild,eclass}] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 4 +trim_trailing_whitespace = true +#max_line_length = 80