Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: James McCoy Newsgroups: linux.debian.bugs.dist Subject: Bug#1010839: debcontrol.vim: bad syntax highlighting for sections containing "/" Date: Thu, 12 May 2022 02:30:01 +0200 Message-ID: References: X-Original-To: Jakub Wilk , 1010839@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu May 12 00:21:09 2022 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -4.01 Reply-To: James McCoy , 1010839@bugs.debian.org Original-Sender: James McCoy Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Vim Maintainers X-Debian-Pr-Message: followup 1010839 X-Debian-Pr-Package: vim-runtime X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: vim X-Gm-Message-State: AOAM530r1kS/t7eSRoMJvlQ348UqZcgeAHZmSBqcTQLpSvZCu5MV44QR dLfb0teeUCS4IIZJzLOEpSExifvYVdo= X-Google-SMTP-Source: ABdhPJwMm4eaepT0ztEPfOfSOb21y9T0t/c21a2S4EAIT6dmW2DAzXBdwYburixQuY8mmEkVWAbkBw== X-Received: by 2002:a05:622a:3ca:b0:2f3:da3a:6e98 with SMTP id k10-20020a05622a03ca00b002f3da3a6e98mr16470463qtx.166.1652314592324; Wed, 11 May 2022 17:16:32 -0700 (PDT) Sender: robomod@news.nic.it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: archive/latest/1716662 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 15 Organization: linux.* mail to news gateway X-Original-Date: Wed, 11 May 2022 20:16:31 -0400 X-Original-Message-ID: <20220512001631.e5gckwuiafrdfjxs@localhost> X-Original-References: <20220511092722.n5adijevzl46476h@jwilk.net> <20220511092722.n5adijevzl46476h@jwilk.net> X-Original-Sender: James McCoy Xref: csiph.com linux.debian.bugs.dist:1102854 On Wed, May 11, 2022 at 11:27:22AM +0200, Jakub Wilk wrote: > vim highlights this as an error: > > Section: non-free/utils > > Removing "\<" from the "syn match debcontrolSection" line fixes it for me. The problem is actually the "syn iskeyword" line. There's no reason to declare / a valid word character there. Not sure why I did that, but I guess we'll find out if there was a reason when I remove it. :) Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB