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

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 20:57:19 PDT 2021


tstellar created this revision.
tstellar added a reviewer: aeubanks.
tstellar requested review of this revision.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

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.345345.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210514/14e00f27/attachment.bin>


More information about the llvm-commits mailing list