[PATCH] D102460: [Utils][vim] Highlight 'ptr' type

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


This revision was automatically updated to reflect the committed changes.
Closed by commit rGb6f983dd842e: [Utils][vim] Highlight 'ptr' type (authored by tstellar).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102460/new/

https://reviews.llvm.org/D102460

Files:
  llvm/utils/vim/syntax/llvm.vim


Index: llvm/utils/vim/syntax/llvm.vim
===================================================================
--- llvm/utils/vim/syntax/llvm.vim
+++ llvm/utils/vim/syntax/llvm.vim
@@ -16,7 +16,7 @@
 " 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102460.351060.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/209c4964/attachment.bin>


More information about the llvm-commits mailing list