Re: New sharness/test vim syntax
From: Felipe Contreras <hidden>
Date: 2020-12-09 00:31:46
On Tue, Dec 8, 2020 at 3:54 PM Emily Shaffer [off-list ref] wrote:
On Tue, Dec 08, 2020 at 12:56:29PM -0500, Jeff King wrote:quoted
On Thu, Nov 26, 2020 at 04:24:42AM -0600, Felipe Contreras wrote:quoted
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