[Utils][vim] Highlight 'ptr' type
authorTom Stellard <tstellar@redhat.com>
Fri, 14 May 2021 03:54:04 +0000 (20:54 -0700)
committerTom Stellard <tstellar@redhat.com>
Thu, 10 Jun 2021 04:39:51 +0000 (21:39 -0700)
Differential Revision: https://reviews.llvm.org/D102460

llvm/utils/vim/syntax/llvm.vim

index 7d0accc..00f5413 100644 (file)
@@ -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.