martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.25k stars 258 forks source link

fix comment typos in vis.h #907

Closed moesasji closed 3 years ago

moesasji commented 3 years ago

This pull request fixes typos in comments that I spotted reading through the code.

moesasji commented 3 years ago

Hi, I am willing to merge this, if you drop the NUL -> NULL change. The former is generally used to refer to the [NUL character]

Learned something as I wasn't aware of the NUL usage and I can definitely fix that. Do you prefer to have all this edits as a single commit to have less pollution?

btw) more used to the openbsd approach where typos in comments do get fixed....

martanne commented 3 years ago

One commit is fine, but I can also merge a patch series.

I agree that fixing typos makes sense. In retrospect my remark is more directed at white space only changes.

Thanks for looking through the code/comments!