annotate runtime/syntax/upstreaminstalllog.vim @ 9246:6ee88fa405b3 v7.4.1906

commit https://github.com/vim/vim/commit/5f1032d2a55b9417a0a6fa225e35089c98a5a419 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 7 22:16:36 2016 +0200 patch 7.4.1906 Problem: Collapsing channel buffers and searching for NL does not work properly. (Xavier de Gary, Ramel Eshed) Solution: Do not assume the buffer contains a NUL or not. Change NUL bytes to NL to avoid the string is truncated.
author Christian Brabandt <cb@256bit.org>
date Tue, 07 Jun 2016 22:30:06 +0200
parents ceb5f21cda79
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Language: Innovation Data Processing UPSTREAMInstall.log file
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " Maintainer: Rob Owens <rowens@fdrinnovation.com>
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 " Latest Revision: 2013-06-17
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 " Quit when a syntax file was already loaded
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 if exists("b:current_syntax")
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 finish
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 endif
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 " Date:
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 syn match upstreaminstalllog_Date /\u\l\l \u\l\l\s\{1,2}\d\{1,2} \d\d:\d\d:\d\d \d\d\d\d/
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 " Msg Types:
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 syn match upstreaminstalllog_MsgD /Msg #MSI\d\{4,5}D/
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 syn match upstreaminstalllog_MsgE /Msg #MSI\d\{4,5}E/
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 syn match upstreaminstalllog_MsgI /Msg #MSI\d\{4,5}I/
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 syn match upstreaminstalllog_MsgW /Msg #MSI\d\{4,5}W/
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 " IP Address:
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 syn match upstreaminstalllog_IPaddr / \d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 hi def link upstreaminstalllog_Date Underlined
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 hi def link upstreaminstalllog_MsgD Type
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 hi def link upstreaminstalllog_MsgE Error
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 hi def link upstreaminstalllog_MsgW Constant
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 hi def link upstreaminstalllog_IPaddr Identifier
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 let b:current_syntax = "upstreaminstalllog"