hilight overlength function added

This commit is contained in:
Jonas Forsberg 2020-05-29 07:36:04 +02:00
parent f37e4ead23
commit 65f0923823
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

6
.vimrc
View File

@ -16,6 +16,12 @@ set expandtab
" Set to show invisibles (tabs & trailing spaces) & their highlight color
set list listchars=tab:»\ ,trail
function! Highlight()
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%81v.\+/
endfunction
nnoremap _h :call Highlight()<CR>
""""""""""""""""""""
" GnuPG Extensions "