projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e5082b
)
[Utils][vim] Highlight 'vscale' constant
author
Fraser Cormack
<fraser@codeplay.com>
Wed, 28 Apr 2021 15:23:13 +0000
(16:23 +0100)
committer
Fraser Cormack
<fraser@codeplay.com>
Thu, 29 Apr 2021 07:53:30 +0000
(08:53 +0100)
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D101466
llvm/utils/vim/syntax/llvm.vim
patch
|
blob
|
history
diff --git
a/llvm/utils/vim/syntax/llvm.vim
b/llvm/utils/vim/syntax/llvm.vim
index
70918ff
..
0c6eb66
100644
(file)
--- 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]*:/