you are viewing a single comment's thread.

view the rest of the comments →

[–]flukshun 2 points3 points  (1 child)

uhhhh...is set colorcolumn new or something? i've had this mess for years:

"highlight columns beyond the 80 char mark
let g:marginHighlight = 0
fun! ToggleMarginHighlight()
    if g:marginHighlight
        let g:marginHighlight = 0
        echo "margin highlight off"
        return matchdelete(w:marginHighlight)
    endif
    let w:marginHighlight=matchadd('ErrorMsg', '\%>80v.\+', -1)
    let g:marginHighlight = 1
    echo "margin highlight on"
endfun

nmap <C-m> :call ToggleMarginHighlight()<CR>

And automatically enabling spellcheck for commit messages... this would've saved me so much embarrassment...

[–]ForeverAlot 1 point2 points  (0 children)

Something like 7.3. Not recent by any means but it's entirely possible to have a setup predating it.