git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: New sharness/test vim syntax

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Dec 9, 2020, 00:30 UTC
Message-ID
<CAMP44s3qUNdGHV2sCovj1Ls7MGesB8_uuX39h4zhCZ_aG-jCsQ@mail.gmail.com>
In-Reply-To
<20201208215411.GB3783238@google.com>
On Tue, Dec 8, 2020 at 3:54 PM Emily Shaffer <emilyshaffer@google.com> wrote:
Show 18 quoted lines
>
> On Tue, Dec 08, 2020 at 12:56:29PM -0500, Jeff King wrote:
> >
> > On Thu, Nov 26, 2020 at 04:24:42AM -0600, Felipe Contreras wrote:
> >
> > > It gets a bit tedious to see all the tests in the same color, so I
> > > wrote my own vim syntax file so that at least the body of
> > > test_expect_success is highlighted properly.
> >
> > Thanks for sharing this. Over the years I've gotten used to the horrible
> > all-red view when editing our test scripts, but I'm looking forward to
> > leaving that behind. :)
>
> Thanks for bumping this mail, Peff - I saw it come in, said "oh heck
> yeah, I'll install that later" ... and then forgot :)
>
> But I've installed it now. This is awesome. Thanks for sharing it
> Felipe!
You're welcome!

I also sent a patch to add a project-wide .vimrc file, to minimize the burden on each individual developer.

A little bit of quality of life never hurts.
Cheers.
-- 
Felipe Contreras
Previous: Emily Shaffer
Message 4 of 4 in “New sharness/test vim syntax”
  1. Felipe ContrerasNov 26, 2020
  2. Jeff KingDec 8, 2020
  3. Emily ShafferDec 8, 2020
  4. Felipe ContrerasDec 9, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.