From 95b7404836a723334d703825ab6f605ab38efe82 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 27 Sep 2007 19:20:37 +0000 Subject: [PATCH] r25378: Add a vim configuration example to highlight overly long lines. --- README.Coding | 5 +++++ 1 file changed, 5 insertions(+) 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 ========================= -- 2.34.1