Highlight right margin to show max. line length
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
plugin
README

README

*line_length.txt*       Highlight lines that are too long             2012-12-05
==============================================================================

Add a mapping to toggle highlighting of long lines:

    nmap R :LineLength<CR>

The max. line length can be set in a modeline in a comment within 
one of the 5 last lines of a file:

    // ...
    // Lines longer than 80 characters will get a blue background
    // ll: 80 blue

Customize defaults:

    let g:LineLength_LineLength = 80
    let g:LineLength_guibg = 'red'
    let g:LineLength_ctermbg = 1

==============================================================================
vim:tw=78:ft=help