Vim: no .srt highlighting by default
Jump to:
Project: | Linux Distribution |
Component: | Code |
Category: | feature request |
Priority: | normal |
Assigned: | Unassigned |
Status: | active |
Project wiki: | New Linux Distribution |
Related pages: | #148: Subtitle editors :-:-: #251: Vim |
Tags: | .srt file, syntax highlighting, vim |
Description
On my system, to enable syntax highlighting for .srt files, I did:
in ~/.vimrc:
" Syntax highlighting for subtitle files in Subrip (srt) format
au BufNewFile,BufRead *.srt setf srt
And added the file:
/usr/share/vim/vim74/syntax/srt.vim
This should be configured by default.
Comments
#1