Add the half type to the LLVM IR vim syntax highlighting.
authorOwen Anderson <resistor@mac.com>
Thu, 3 May 2012 17:24:12 +0000 (17:24 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 3 May 2012 17:24:12 +0000 (17:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156080 91177308-0d34-0410-b5e6-96231b3b80d8

utils/vim/llvm.vim

index c9ee28e5b23327cdbbcacc2c29ab1334dd11dc80..9cd483d14791bc7df3944fc577f8ce4abd2205cc 100644 (file)
@@ -14,7 +14,7 @@ syn case match
 " Types.
 " Types also include struct, array, vector, etc. but these don't
 " benefit as much from having dedicated highlighting rules.
-syn keyword llvmType void float double
+syn keyword llvmType void float double half
 syn keyword llvmType x86_fp80 fp128 ppc_fp128
 syn keyword llvmType type label opaque
 syn match   llvmType /\<i\d\+\>/