[PATCH] D98927: [Utils][vim] Highlight `poison` keyword
Senran Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 19 00:56:57 PDT 2021
zsrkmyn created this revision.
zsrkmyn added reviewers: awarzynski, MaskRay, porglezomp.
zsrkmyn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
https://reviews.llvm.org/D98927
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
+syn keyword llvmConstant zeroinitializer undef null none poison
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: D98927.331785.patch
Type: text/x-patch
Size: 590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210319/72645b94/attachment.bin>
More information about the llvm-commits
mailing list