From: Senran Zhang Date: Sat, 20 Mar 2021 02:09:11 +0000 (-0700) Subject: [Utils][vim] Highlight `poison` keyword X-Git-Tag: llvmorg-14-init~11831 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcb34a538729f7c5b49aff9535196e239495db85;p=platform%2Fupstream%2Fllvm.git [Utils][vim] Highlight `poison` keyword Reviewed By: awarzynski, MaskRay Differential Revision: https://reviews.llvm.org/D98927 --- diff --git a/llvm/utils/vim/syntax/llvm.vim b/llvm/utils/vim/syntax/llvm.vim index 48d3daf..70918ff 100644 --- a/llvm/utils/vim/syntax/llvm.vim +++ b/llvm/utils/vim/syntax/llvm.vim @@ -211,7 +211,7 @@ syn match llvmNumber /-\?\<\d\+\>/ 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]*:/