rfc support

This commit is contained in:
Loic Nageleisen 2014-09-23 16:54:29 +02:00
parent ecd1548e25
commit c41b1a62cc
2 changed files with 6 additions and 0 deletions

5
vimrc
View file

@ -120,6 +120,11 @@ au BufRead,BufNewFile Guardfile setfiletype ruby
au BufRead,BufNewFile *.skim setfiletype slim
let g:syntastic_ruby_checkers = ['mri', 'rubocop']
if expand('%:t') =~? 'rfc\d\+' || expand('%:t') =~? 'draft-.*-\d\{2,}'
setfiletype rfc
set textwidth=72
endif
"notify line over length
function HighlightOverLength(len)
highlight OverLength ctermbg=blue ctermfg=white guibg=#59292