vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] brace matching


From: Brendan O'Dea
Subject: Re: [vile] brace matching
Date: Sun, 3 Apr 2016 09:39:09 +1000

On 3 April 2016 at 03:06, Marc Simpson <address@hidden> wrote:
> FWIW, this is traditional vi behaviour (unsurprisingly, given the lack
> of contextual information).

Right.  The usual work-around for such cases was to manually add the
matching brace, so you will occasionally find code like:

  /* vi: { */
  if (*p == '}') {

and:

  if (*p == '{') {  // vi: }

--bod



reply via email to

[Prev in Thread] Current Thread [Next in Thread]