[llvm] 618b5b5 - [Utils][vim] Highlight 'vscale' constant
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 29 01:00:57 PDT 2021
Author: Fraser Cormack
Date: 2021-04-29T08:53:30+01:00
New Revision: 618b5b5fbc230e4a4c2b52c08cd2b5a525d82deb
URL: https://github.com/llvm/llvm-project/commit/618b5b5fbc230e4a4c2b52c08cd2b5a525d82deb
DIFF: https://github.com/llvm/llvm-project/commit/618b5b5fbc230e4a4c2b52c08cd2b5a525d82deb.diff
LOG: [Utils][vim] Highlight 'vscale' constant
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D101466
Added:
Modified:
llvm/utils/vim/syntax/llvm.vim
Removed:
################################################################################
diff --git a/llvm/utils/vim/syntax/llvm.vim b/llvm/utils/vim/syntax/llvm.vim
index 70918ffd160c..0c6eb6600de7 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 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]*:/
More information about the llvm-commits
mailing list