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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB1A9138334 for ; Mon, 20 Aug 2018 20:37:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81BF3E0828; Mon, 20 Aug 2018 20:37:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5ACF3E0828 for ; Mon, 20 Aug 2018 20:37:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF889335DED for ; Mon, 20 Aug 2018 20:37:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFA953B3 for ; Mon, 20 Aug 2018 20:37:44 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1534797235.0c91fccc7bf5477812de0438a6f7dc79fa65f5bf.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/ X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: syntax/gentoo-common.vim X-VCS-Directories: syntax/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0c91fccc7bf5477812de0438a6f7dc79fa65f5bf X-VCS-Branch: master Date: Mon, 20 Aug 2018 20:37:44 +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-Archives-Salt: fe5da23d-5dc1-4659-bc3c-ca6bac744610 X-Archives-Hash: c6a89670c6eecc5358193c3db18d0c31 commit: 0c91fccc7bf5477812de0438a6f7dc79fa65f5bf Author: Michał Górny gentoo org> AuthorDate: Mon Aug 20 20:33:41 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 20 20:33:55 2018 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=0c91fccc syntax/gentoo-common: Detect mixed tab-space indent Bug: https://bugs.gentoo.org/637104 syntax/gentoo-common.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syntax/gentoo-common.vim b/syntax/gentoo-common.vim index b3e2ae8..37879b3 100644 --- a/syntax/gentoo-common.vim +++ b/syntax/gentoo-common.vim @@ -14,6 +14,8 @@ syn match GentooBug contained /\(\([gG]entoo \|[dD]ebian \|[sS]ource[Ff]orge \) syn region GentooError start=/^ / end=/$/ " trailing whitespace syn match GentooError /\s\+$/ +" mixed tab and space indentation +syn match GentooError /\s*\(\t \| \t\)\s*/ hi def link GentooBug Underlined hi def link GentooError Error