summaryrefslogtreecommitdiff
path: root/utils/vim
diff options
context:
space:
mode:
Diffstat (limited to 'utils/vim')
-rw-r--r--utils/vim/llvm.vim3
-rw-r--r--utils/vim/vimrc9
2 files changed, 7 insertions, 5 deletions
diff --git a/utils/vim/llvm.vim b/utils/vim/llvm.vim
index acebc20bc344c..83e4c232dbe5f 100644
--- a/utils/vim/llvm.vim
+++ b/utils/vim/llvm.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: llvm
" Maintainer: The LLVM team, http://llvm.org/
-" Version: $Revision: 112382 $
+" Version: $Revision: 114788 $
if version < 600
syntax clear
@@ -49,6 +49,7 @@ syn keyword llvmKeyword hidden protected default
syn keyword llvmKeyword except deplibs
syn keyword llvmKeyword volatile fastcc coldcc cc ccc
syn keyword llvmKeyword x86_stdcallcc x86_fastcallcc
+syn keyword llvmKeyword ptx_kernel ptx_device
syn keyword llvmKeyword signext zeroext inreg sret nounwind noreturn
syn keyword llvmKeyword nocapture byval nest readnone readonly noalias
syn keyword llvmKeyword inlinehint noinline alwaysinline optsize ssp sspreq
diff --git a/utils/vim/vimrc b/utils/vim/vimrc
index 1f314c2e3f371..3f863d64bc492 100644
--- a/utils/vim/vimrc
+++ b/utils/vim/vimrc
@@ -1,5 +1,5 @@
" LLVM coding guidelines conformance for VIM
-" $Revision: 112982 $
+" $Revision: 117415 $
"
" Maintainer: The LLVM Team, http://llvm.org
" WARNING: Read before you source in all these commands and macros! Some
@@ -92,7 +92,7 @@ augroup END
"set incsearch
"set ruler
-" Clang code-completion support. This is highly experimental!
+" Clang code-completion support. This is somewhat experimental!
" A path to a clang executable.
let g:clang_path = "clang++"
@@ -216,5 +216,6 @@ function! ClangComplete(findstart, base)
return []
endfunction ClangComplete
-" Uncomment this to enable the highly-broken autocompletion support.
-"set omnifunc=ClangComplete
+" This to enables the somewhat-experimental clang-based
+" autocompletion support.
+set omnifunc=ClangComplete