svn commit: samba r25378 - in branches/SAMBA_3_2: .

obnox at samba.org obnox at samba.org
Thu Sep 27 19:20:43 GMT 2007


Author: obnox
Date: 2007-09-27 19:20:37 +0000 (Thu, 27 Sep 2007)
New Revision: 25378

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25378

Log:
Add a vim configuration example to highlight overly long lines.


Modified:
   branches/SAMBA_3_2/README.Coding


Changeset:
Modified: branches/SAMBA_3_2/README.Coding
===================================================================
--- branches/SAMBA_3_2/README.Coding	2007-09-27 15:51:07 UTC (rev 25377)
+++ branches/SAMBA_3_2/README.Coding	2007-09-27 19:20:37 UTC (rev 25378)
@@ -79,6 +79,11 @@
   " Show tabs, trailing whitespace, and continued lines visually
   set list listchars=tab:»·,trail:·,extends:…
 
+  " highlight overly long lines same as TODOs.
+  set textwidth=80
+  autocmd BufNewFile,BufRead *.c,*.h exec 'match Todo /\%>' . &textwidth . 'v.\+/'
+
+
 =========================
 FAQ & Statement Reference
 =========================



More information about the samba-cvs mailing list