diff options
author | Owen Anderson <resistor@mac.com> | 2010-07-29 17:57:57 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-07-29 17:57:57 +0000 |
commit | 2a5892fe664161cdbb84bc3640812f21b5ff62d2 (patch) | |
tree | acdf4ad54cdcacc57f0aff9d62c6eb028630274f /utils/vim | |
parent | 692433bc2d3be9c3bb2fd67ab688eda073bafca2 (diff) |
Make un-named values legible in certain vim configurations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109772 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/vim')
-rw-r--r-- | utils/vim/llvm.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/vim/llvm.vim b/utils/vim/llvm.vim index ffdf71105e..9b8a42004e 100644 --- a/utils/vim/llvm.vim +++ b/utils/vim/llvm.vim @@ -64,7 +64,7 @@ syn keyword llvmError uninitialized implementation syn keyword llvmError getresult big little endian begin end " Misc syntax. -syn match llvmIgnore /[%@]\d\+\>/ +syn match llvmNoName /[%@]\d\+\>/ syn match llvmNumber /-\?\<\d\+\>/ syn match llvmFloat /-\?\<\d\+\.\d*\(e[+-]\d\+\)\?\>/ syn match llvmFloat /\<0x\x\+\>/ @@ -99,7 +99,7 @@ if version >= 508 || !exists("did_c_syn_inits") HiLink llvmKeyword Keyword HiLink llvmBoolean Boolean HiLink llvmFloat Float - HiLink llvmIgnore Ignore + HiLink llvmNoName Identifier HiLink llvmConstant Constant HiLink llvmSpecialComment SpecialComment HiLink llvmError Error |