diff options
author | Michael Adam <obnox@samba.org> | 2007-09-27 19:20:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:31:01 -0500 |
commit | 95b7404836a723334d703825ab6f605ab38efe82 (patch) | |
tree | 261e752a390e833986131d3d895fd5359e5918f1 /README.Coding | |
parent | e9922cd8aeb70aebb162ad598fda76ad69226b94 (diff) | |
download | samba-95b7404836a723334d703825ab6f605ab38efe82.tar.gz samba-95b7404836a723334d703825ab6f605ab38efe82.tar.xz samba-95b7404836a723334d703825ab6f605ab38efe82.zip |
r25378: Add a vim configuration example to highlight overly long lines.
Diffstat (limited to 'README.Coding')
-rw-r--r-- | README.Coding | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/README.Coding b/README.Coding index da6bb382078..fd52dbe890d 100644 --- 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 ========================= |