[haiku-development] Re: vim script to detect haiku coding guidelines violations

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 12 Aug 2009 13:49:39 +0200 CEST

PulkoMandy <pulkomandy@xxxxxxxxx> wrote:
>       call matchadd('ErrorMsg', 'while(', -1) " while without space

What about "select(", and maybe something like [{alnum}][,=/+-*
;][{alnum}] to detect operator use without the correct spacing? Maybe 
also [=&|/+-]$ to detect wrong operator positions at the end of a line?

Bye,
   Axel.


Other related posts: