[llvm] 5fac474 - vim: add `bfloat` keyword

Cullen Rhodes via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 18 10:07:02 PDT 2020


Author: Cullen Rhodes
Date: 2020-06-18T17:06:06Z
New Revision: 5fac474fad3984f5e204d8bb01201f1705504339

URL: https://github.com/llvm/llvm-project/commit/5fac474fad3984f5e204d8bb01201f1705504339
DIFF: https://github.com/llvm/llvm-project/commit/5fac474fad3984f5e204d8bb01201f1705504339.diff

LOG: vim: add `bfloat` keyword

Highlight the `bfloat` type introduced in D78190.

Added: 
    

Modified: 
    llvm/utils/vim/syntax/llvm.vim

Removed: 
    


################################################################################
diff  --git a/llvm/utils/vim/syntax/llvm.vim b/llvm/utils/vim/syntax/llvm.vim
index 0a661e82d86a..ce36b761d5da 100644
--- 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\+\>/


        


More information about the llvm-commits mailing list