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:
parent
4d7a1c3bcf
commit
a4137c3555
@ -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
|
||||
=========================
|
||||
|
Loading…
Reference in New Issue
Block a user