summaryrefslogtreecommitdiff
path: root/utils/vim
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2012-05-03 17:24:12 +0000
committerOwen Anderson <resistor@mac.com>2012-05-03 17:24:12 +0000
commit5e7469647c1a39dd8c75c82ac401c4a1b1553f39 (patch)
tree76d35fdd4fb1ac627724e3a624913765fcd11ad1 /utils/vim
parentb422d0b65e15435b6aef4a92f5663db9ec6659d4 (diff)
downloadllvm-5e7469647c1a39dd8c75c82ac401c4a1b1553f39.tar.gz
llvm-5e7469647c1a39dd8c75c82ac401c4a1b1553f39.tar.bz2
llvm-5e7469647c1a39dd8c75c82ac401c4a1b1553f39.tar.xz
Add the half type to the LLVM IR vim syntax highlighting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/vim')
-rw-r--r--utils/vim/llvm.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/vim/llvm.vim b/utils/vim/llvm.vim
index c9ee28e5b2..9cd483d147 100644
--- a/utils/vim/llvm.vim
+++ b/utils/vim/llvm.vim
@@ -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\+\>/