[PATCH] D101466: [Utils][vim] Highlight 'vscale' constant

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 29 01:01:01 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG618b5b5fbc23: [Utils][vim] Highlight 'vscale' constant (authored by frasercrmck).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101466

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
@@ -211,7 +211,7 @@
 syn match   llvmFloat  /-\?\<\d\+\.\d*\(e[+-]\d\+\)\?\>/
 syn match   llvmFloat  /\<0x\x\+\>/
 syn keyword llvmBoolean true false
-syn keyword llvmConstant zeroinitializer undef null none poison
+syn keyword llvmConstant zeroinitializer undef null none poison vscale
 syn match   llvmComment /;.*$/
 syn region  llvmString start=/"/ skip=/\\"/ end=/"/
 syn match   llvmLabel /[-a-zA-Z$._][-a-zA-Z$._0-9]*:/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101466.341428.patch
Type: text/x-patch
Size: 604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210429/f62ec028/attachment.bin>


More information about the llvm-commits mailing list