[llvm] b6f983d - [Utils][vim] Highlight 'ptr' type

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 9 21:40:06 PDT 2021


Author: Tom Stellard
Date: 2021-06-09T21:39:51-07:00
New Revision: b6f983dd842e773cf045a96744f595aa5ce7af9d

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

LOG: [Utils][vim] Highlight 'ptr' type

Differential Revision: https://reviews.llvm.org/D102460

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 7d0accc922ae8..00f5413bb8ee6 100644
--- a/llvm/utils/vim/syntax/llvm.vim
+++ b/llvm/utils/vim/syntax/llvm.vim
@@ -16,7 +16,7 @@ syn case match
 " benefit as much from having dedicated highlighting rules.
 syn keyword llvmType void half bfloat float double x86_fp80 fp128 ppc_fp128
 syn keyword llvmType label metadata x86_mmx x86_amx
-syn keyword llvmType type label opaque token
+syn keyword llvmType type label opaque token ptr
 syn match   llvmType /\<i\d\+\>/
 
 " Instructions.


        


More information about the llvm-commits mailing list