git.samba.org
/
metze
/
old
/
v3-2-winbind-ndr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f2edcd
)
Add a vim configuration example to highlight overly long lines.
author
obnox
<obnox@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Thu, 27 Sep 2007 19:20:37 +0000
(19:20 +0000)
committer
obnox
<obnox@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Thu, 27 Sep 2007 19:20:37 +0000
(19:20 +0000)
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25378
0c0555d6
-39d7-0310-84fc-
f1cc0bd64818
README.Coding
patch
|
blob
|
history
diff --git
a/README.Coding
b/README.Coding
index da6bb382078bfa4c49f13579797b60382102fb79..fd52dbe890d6b870b7bcfa77b528224debc762f2 100644
(file)
--- a/
README.Coding
+++ b/
README.Coding
@@
-79,6
+79,11
@@
displaying trailing whitespace:
" 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
=========================