From patchwork Wed Jan 4 21:14:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 89913 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp8678711qgi; Wed, 4 Jan 2017 13:15:34 -0800 (PST) X-Received: by 10.98.156.206 with SMTP id u75mr1792340pfk.92.1483564533683; Wed, 04 Jan 2017 13:15:33 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id l3si73590231pld.333.2017.01.04.13.15.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jan 2017 13:15:33 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-445399-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-445399-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-445399-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:in-reply-to:message-id:references :mime-version:content-type; q=dns; s=default; b=nYK4ub7HUPZdMXGY rory1utEpPtkWws1PBQaJ5qql9FFDTKKGVqKmRjE0eIHOgC/SgvAZN7w70JQ58k5 6miVZgwEY3WGo3xDutWt4ujuNFjMirkNbGgCaga6GxkCaMKKi4FHBn1Alq90QBkQ V05c1vZzDLtmKplzjIOhjsjBU1Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:in-reply-to:message-id:references :mime-version:content-type; s=default; bh=zHTPMuZ1uLgcMDqZZ7uO+t 0tDus=; b=AtPn6fm0kFvB3F0LeTiqo256i25XwYN8NhdgecKj1vXherIShlkjJX JKJ5MGVGpw3tgIQ6re5fCrTB6dplpXZ4v15BNCWKQddAr1dVaEIBnhXet8bK1tIH xk/nSJYRDAXbveaKH5Sb9/1PrdCjrysMhwa514q7mqYpvYCqEjwrU= Received: (qmail 16952 invoked by alias); 4 Jan 2017 21:15:22 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 16910 invoked by uid 89); 4 Jan 2017 21:15:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: ainaz.pair.com Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Jan 2017 21:15:04 +0000 Received: from [172.31.0.115] (sub-34ip117.rev.onenet.cw [190.88.34.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 748FE3F532; Wed, 4 Jan 2017 16:15:01 -0500 (EST) Date: Wed, 4 Jan 2017 17:14:58 -0400 (AST) From: Gerald Pfeifer To: =?ISO-8859-15?Q?Martin_Li=A8ka?= cc: gcc-patches@gcc.gnu.org, Yury Gribov Subject: Re: [PATCH] vimrc: fix TAB settings In-Reply-To: <421a48bb-d497-9f80-1147-aa1916407716@suse.cz> Message-ID: References: <421a48bb-d497-9f80-1147-aa1916407716@suse.cz> MIME-Version: 1.0 X-IsSubscribed: yes On Mon, 14 Nov 2016, Martin Liška wrote: > Following patch adds TAB settings to contrib/vimrc file. > Hope it looks reasonable? This does not appear applied, are you waiting for approval? If so, for something like this in contrib we don't need to get overly strict and I'd say go ahead. Gerald >From 84eb32c4e84b87d690033f7505b8570427ab8468 Mon Sep 17 00:00:00 2001 From: marxin Date: Sun, 13 Nov 2016 12:05:48 +0100 Subject: [PATCH] vimrc: fix TAB settings --- contrib/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/vimrc b/contrib/vimrc index 34e8f35..7c0c587 100644 --- a/contrib/vimrc +++ b/contrib/vimrc @@ -35,7 +35,10 @@ function! SetStyle() let l:c_exts = ['c', 'h', 'cpp', 'cc', 'C', 'H', 'def', 'java'] if index(l:c_exts, l:ext) != -1 setlocal cindent + setlocal tabstop=8 setlocal softtabstop=2 + setlocal shiftwidth=2 + setlocal noexpandtab setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,f0,h2,p4,t0,+2,(0,u0,w1,m0 setlocal textwidth=80 setlocal formatoptions-=ro formatoptions+=cqlt -- 2.10.1