Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp27593ybg; Tue, 9 Jun 2020 15:21:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxo5DsIfDoMDS6g57isAH9dDzZTvf9kJHDUQ/8Z6QzwBKVq07FOMESwU6vIrjtxZBTPP/jH X-Received: by 2002:a50:9e21:: with SMTP id z30mr27857786ede.347.1591741271861; Tue, 09 Jun 2020 15:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591741271; cv=none; d=google.com; s=arc-20160816; b=Pyo3/z1Ryv5dmMM0ytT4IHucswsxGTG0kYeFQakW6+G2anJanZNr73Y48XbqlEUkp0 5e3ACdeNVMIpSlyE43+czdtlqA39yDd7MIbZLmH16wnD1zQToEpwTF09U5NXHoqatzx+ bdCxG1/xSsE8ej/+cAlSJ0TZFFdkAZ4g92++cYJWobwHVzebs3e38aCnpfnbsxXH6P3b Nr+5U13Q8nQ1KkrGfTvMsLbVUdxceqY0ug0lNfPZVVqXtG1WZISo6/3EggrtP58t4pUy MB7KKAwTaRIp+TQM7UOgxcY3NqFtk1nTUgso1XqsjAT8lsB6Qlr4BW0C6TRRUP3mftRI SIow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-disposition:mime-version:references:in-reply-to:subject:cc :to:from:message-id:date:dkim-signature; bh=dSfyjxwZ2gcnTTBhIxqYXNNn0wELjQoWIt+uyxpVh5U=; b=0mut1m7eeFvmN9lPAh8a/XPv+qGfXePGMf5M9oaNydHwuVAViYDdyOpx4AHyH9CzZB sJUnYtTxvN9kRLNH4HYsCkV8mHgcquv5QTBCh6U2EwTl84qaB7bLh874pjmA90nGZLT/ z4Lff7lJlQDCzbEud+wOW7LI9lYCJ9fhHpWN4U8TBNlWNcP1ylX1yrjX6Cq/ud6XCRfU NgWdCwoXuOdCpRIWGbJ3gYZi4kQwxG+on4EI5C6fak1AQJLe/3B1nxCqQVxO3BXK/p02 H3TdiqE/1HgIE7PVUC3fHuZzYtwAjD765VLq2ZG2zOG3022OwfneC6Ev9fU0LR5fAdZ9 6ouA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="VbF9ur/9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g14si2055805ejo.587.2020.06.09.15.20.48; Tue, 09 Jun 2020 15:21:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="VbF9ur/9"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728427AbgFIWSf (ORCPT + 99 others); Tue, 9 Jun 2020 18:18:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728191AbgFIWSf (ORCPT ); Tue, 9 Jun 2020 18:18:35 -0400 Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F25F9C05BD1E for ; Tue, 9 Jun 2020 15:18:34 -0700 (PDT) Received: by mail-qk1-x729.google.com with SMTP id n11so206421qkn.8 for ; Tue, 09 Jun 2020 15:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-disposition:content-transfer-encoding; bh=dSfyjxwZ2gcnTTBhIxqYXNNn0wELjQoWIt+uyxpVh5U=; b=VbF9ur/9Ok1mT/YbwK08vFQPu3/bpmsjAEn1AvD85PQPgyQpM9G2L6Ci+pBjRipoIW 7jwARGG5tqQHRrqyHMDP/z+4SkcCzHhONRtgkP2CNhkHqt0iOo211XuKm8ldKHRk+MBK /kp6Av7i5+4738aq03DSV1vIllvcs+5PLdSMVRGeUuyulxHr9GeMoWVyEjefKifU+Lqp zuqEDncw4lW58a3NG6tKvGyhASYS2mz2uIzFIYUKBzT2Xobv2igGIn9qhU/Yk7d/Rewo Nbl61d8z/EflUBnejp3D5KIskd3dKR7EdjC3zgE/7ZxEQJyACNj0jM92XjgR0ZraKzVY PNww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:cc:subject:in-reply-to :references:mime-version:content-disposition :content-transfer-encoding; bh=dSfyjxwZ2gcnTTBhIxqYXNNn0wELjQoWIt+uyxpVh5U=; b=b0rOoIYWtnMpEuL6u2Pl/qaxCtTSRX+9ddQFxjt0lhoJv1C+PbhDHZSbQLb5QqZ3K3 IYGIaaanlM/2eVJLStjFvjIv5qza4ELDr4a0q/Av81bR+vYhGSvZuZfW8TQefk5YvMP6 7eAaoe6Fped3doOBkz6TlZpvKnico+GSGAIMmHqeh/N3acXO0oZUMv08yYLxYJgSe1Nb HKuc96fZUo8eM25dZ5K0nnwWc/2x27zk8DPXtMQGYI+57wFy34tZZH+iyD0IKy568KhE D0zgXnVbu4FjjmUMBUmzRsGUrUoxXwrsyWxqPGnbzVhzRL8DAdXbdlyCqQxcl6B7ctXF QFyg== X-Gm-Message-State: AOAM5321CzGwpqHUS9YyAHpsGYAUzLX5iTlEuh+gNskmHrLuvv6H2isb Y4/9Fu3iOZCPAHlV+3Wki6ysC30o X-Received: by 2002:a37:48cc:: with SMTP id v195mr131643qka.232.1591741114187; Tue, 09 Jun 2020 15:18:34 -0700 (PDT) Received: from localhost (modemcable249.105-163-184.mc.videotron.ca. [184.163.105.249]) by smtp.gmail.com with ESMTPSA id o6sm10347553qkh.28.2020.06.09.15.18.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 15:18:33 -0700 (PDT) Date: Tue, 9 Jun 2020 18:18:32 -0400 Message-ID: <20200609181832.GB124143@t480s.localdomain> From: Vivien Didelot To: Joe Perches Cc: LKML Subject: Re: vim: linux-kernel: Add "fallthrough" as a keyword In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Joe, On Sat, 14 Mar 2020 12:08:40 -0700, Joe Perches wrote: > Add fallthrough as a keyword for source code highlighting as > fallthrough was added as a pseudo-keyword macro to replace the > various forms of switch/case /* fallthrough */ comments. > > Signed-off-by: Joe Perches > --- > plugin/linuxsty.vim | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/plugin/linuxsty.vim b/plugin/linuxsty.vim > index 18b28..44824 100644 > --- a/plugin/linuxsty.vim > +++ b/plugin/linuxsty.vim > @@ -69,6 +69,7 @@ function s:LinuxFormatting() > endfunction > > function s:LinuxKeywords() > + syn keyword cStatement fallthrough > syn keyword cOperator likely unlikely > syn keyword cType u8 u16 u32 u64 s8 s16 s32 s64 > syn keyword cType __u8 __u16 __u32 __u64 __s8 __s16 __s32 __s64 > I've applied the patch, sorry for the delay. Thanks, Vivien