summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.Coding5
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
=========================