Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1102854

Bug#1010839: debcontrol.vim: bad syntax highlighting for sections containing "/"

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From James McCoy <jamessan@debian.org>
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 <Em4Sl-eRFD-1@gated-at.bofh.it> (permalink)
References <ElQZ3-eJti-17@gated-at.bofh.it> <ElQZ3-eJti-17@gated-at.bofh.it>
X-Original-To Jakub Wilk <jwilk@jwilk.net>, 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 <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.01
Reply-To James McCoy <jamessan@debian.org>, 1010839@bugs.debian.org
Original-Sender James McCoy <vega.james@gmail.com>
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Vim Maintainers <team+vim@tracker.debian.org>
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 <debian-bugs-dist@lists.debian.org> archive/latest/1716662
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
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 <vega.james@gmail.com>
Xref csiph.com linux.debian.bugs.dist:1102854

Show key headers only | View raw


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

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1010839: debcontrol.vim: bad syntax highlighting for sections containing "/" Jakub Wilk <jwilk@jwilk.net> - 2022-05-11 11:40 +0200
  Bug#1010839: debcontrol.vim: bad syntax highlighting for sections containing "/" James McCoy <jamessan@debian.org> - 2022-05-12 02:30 +0200

csiph-web