Enable syntax highlighting of LLVM and tablegen files by default,

so that users don't have to copy text from the README to get this.

llvm-svn: 62718
This commit is contained in:
Dan Gohman 2009-01-21 21:47:51 +00:00
parent 455be5a0a0
commit 3155533003
1 changed files with 12 additions and 0 deletions

View File

@ -58,3 +58,15 @@ command! DeleteTrailingWs :%s/\s\+$//
" Convert all tab characters to two spaces
command! Untab :%s/\t/ /g
" Enable syntax highlighting for LLVM files. To use, copy
" utils/vim/llvm.vim to ~/.vim/syntax .
augroup filetype
au! BufRead,BufNewFile *.ll set filetype=llvm
augroup END
" Enable syntax highlighting for tablegen files. To use, copy
" utils/vim/tablegen.vim to ~/.vim/syntax .
augroup filetype
au! BufRead,BufNewFile *.td set filetype=tablegen
augroup END