aboutsummaryrefslogtreecommitdiff
path: root/utils/vim
diff options
context:
space:
mode:
Diffstat (limited to 'utils/vim')
-rw-r--r--utils/vim/syntax/llvm.vim3
-rw-r--r--utils/vim/vimrc6
2 files changed, 5 insertions, 4 deletions
diff --git a/utils/vim/syntax/llvm.vim b/utils/vim/syntax/llvm.vim
index 5a2757c1159e..22d688b14864 100644
--- a/utils/vim/syntax/llvm.vim
+++ b/utils/vim/syntax/llvm.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: llvm
" Maintainer: The LLVM team, http://llvm.org/
-" Version: $Revision: 285927 $
+" Version: $Revision: 294808 $
if version < 600
syntax clear
@@ -123,6 +123,7 @@ syn keyword llvmKeyword
\ readnone
\ readonly
\ release
+ \ returned
\ returns_twice
\ sanitize_address
\ sanitize_memory
diff --git a/utils/vim/vimrc b/utils/vim/vimrc
index c35eb0ecbbeb..37983e4779fe 100644
--- a/utils/vim/vimrc
+++ b/utils/vim/vimrc
@@ -1,5 +1,5 @@
" LLVM coding guidelines conformance for VIM
-" $Revision: 176235 $
+" $Revision: 293693 $
"
" Maintainer: The LLVM Team, http://llvm.org
" WARNING: Read before you source in all these commands and macros! Some
@@ -74,13 +74,13 @@ command! DeleteTrailingWs :%s/\s\+$//
command! Untab :%s/\t/ /g
" Enable syntax highlighting for LLVM files. To use, copy
-" utils/vim/llvm.vim to ~/.vim/syntax .
+" utils/vim/syntax/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 .
+" utils/vim/syntax/tablegen.vim to ~/.vim/syntax .
augroup filetype
au! BufRead,BufNewFile *.td set filetype=tablegen
augroup END