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