mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-08 18:30:04 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62718 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5e59c2768d
commit
789da2755d
@ -58,3 +58,15 @@ command! DeleteTrailingWs :%s/\s\+$//
|
|||||||
|
|
||||||
" Convert all tab characters to two spaces
|
" Convert all tab characters to two spaces
|
||||||
command! Untab :%s/\t/ /g
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user