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 | a4137c3555562b7a2ad558ed3849b1dfa10cb845 (patch) | |
tree | 3ac472de6a945b58275e498f5a0f47948f5ae206 | |
parent | 4d7a1c3bcfca8261d30ad902444eda31a6b0e2b6 (diff) | |
download | samba-a4137c3555562b7a2ad558ed3849b1dfa10cb845.tar.gz samba-a4137c3555562b7a2ad558ed3849b1dfa10cb845.tar.bz2 samba-a4137c3555562b7a2ad558ed3849b1dfa10cb845.zip |
r25378: Add a vim configuration example to highlight overly long lines.
(This used to be commit 95b7404836a723334d703825ab6f605ab38efe82)
-rw-r--r-- | README.Coding | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/README.Coding b/README.Coding index da6bb38207..fd52dbe890 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 ========================= |