projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91ef930
)
vim: add `bfloat` keyword
author
Cullen Rhodes
<cullen.rhodes@arm.com>
Thu, 18 Jun 2020 16:42:22 +0000
(16:42 +0000)
committer
Cullen Rhodes
<cullen.rhodes@arm.com>
Thu, 18 Jun 2020 17:06:06 +0000
(17:06 +0000)
Highlight the `bfloat` type introduced in D78190.
llvm/utils/vim/syntax/llvm.vim
patch
|
blob
|
history
diff --git
a/llvm/utils/vim/syntax/llvm.vim
b/llvm/utils/vim/syntax/llvm.vim
index
0a661e8
..
ce36b76
100644
(file)
--- a/
llvm/utils/vim/syntax/llvm.vim
+++ b/
llvm/utils/vim/syntax/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 half float double x86_fp80 fp128 ppc_fp128
+syn keyword llvmType void half
bfloat
float double x86_fp80 fp128 ppc_fp128
syn keyword llvmType label metadata x86_mmx
syn keyword llvmType type label opaque token
syn match llvmType /\<i\d\+\>/