1
I'm using the following in my .vimrc to highlight lines that over 80 characters long:
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%81v.\+/
This affects all of my files. Is there a way I can set this to only affect a certain filetype, such as a Javascript file?