From patchwork Mon Nov 14 11:12:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 82055 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp953785qge; Mon, 14 Nov 2016 03:13:23 -0800 (PST) X-Received: by 10.98.144.213 with SMTP id q82mr35189089pfk.56.1479122003327; Mon, 14 Nov 2016 03:13:23 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id d135si21830324pfd.82.2016.11.14.03.13.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Nov 2016 03:13:23 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-441332-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-441332-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-441332-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:to:cc :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=O+INMlVdznd9GskmeD6sIJLSqDnE7YRd34wfc12H3fO35nHr4K GHVezCjlDth+p04a9adF5e2blI6CzmuAP/9xSl91nO9vb0XjoDhghLaH9sz5H0Sq 0BgE26LLmcf+HeCpi8hitlv06w4RWHxHYxujv+N5d0GRr9lVu4bMbmRHs= 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:to:cc :from:subject:message-id:date:mime-version:content-type; s= default; bh=3hQ6pix9X/OkcvKBZWi4AK+V+xQ=; b=pGLPD1VSOHGAYgdksEQp 62ZtyIbu0XacPHx5jL947mask3YBWzgwYhE6Cg/e9Ps0vOZ/Q0+ldewYB8RhaMo1 /a3JZSeqDCsm5uTH+bV7JqMntrDi8lT4XiWhwOLmndYP1KsIwJ4le/jVNzUTZsG2 BHCnYEoeVckobGN5Bp4bd0M= Received: (qmail 97657 invoked by alias); 14 Nov 2016 11:13:08 -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 97646 invoked by uid 89); 14 Nov 2016 11:13:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Nov 2016 11:12:56 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1F67BABE7; Mon, 14 Nov 2016 11:12:54 +0000 (UTC) To: GCC Patches Cc: Yury Gribov From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Subject: [PATCH] vimrc: fix TAB settings Message-ID: <421a48bb-d497-9f80-1147-aa1916407716@suse.cz> Date: Mon, 14 Nov 2016 12:12:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 X-IsSubscribed: yes Hello. Following patch adds TAB settings to contrib/vimrc file. Hope it looks reasonable? Thanks, Martin >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