1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

r25378: Add a vim configuration example to highlight overly long lines.

(This used to be commit 95b7404836)
This commit is contained in:
Michael Adam 2007-09-27 19:20:37 +00:00 committed by Gerald (Jerry) Carter
parent 4d7a1c3bcf
commit a4137c3555

View File

@ -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
=========================