forked from aniani/vim
Update runtime files.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
" Language: Clean
|
||||
" Author: Pieter van Engelen <pietere@sci.kun.nl>
|
||||
" Co-Author: Arthur van Leeuwen <arthurvl@sci.kun.nl>
|
||||
" Last Change: 2013 Jun 19 by Jurriën Stutterheim
|
||||
" Last Change: 2013 Oct 15 by Jurriën Stutterheim
|
||||
|
||||
" For version 5.x: Clear all syntax items
|
||||
" For version 6.x: Quit when a syntax file was already loaded
|
||||
@@ -31,11 +31,10 @@ syn keyword cleanIncludeKeyword contained from import as qualified
|
||||
|
||||
" To do some Denotation Highlighting
|
||||
syn keyword cleanBoolDenot True False
|
||||
syn region cleanStringDenot start=+"+ end=+"+
|
||||
syn match cleanCharDenot "'.'"
|
||||
syn match cleanCharsDenot "'[^'\\]*\(\\.[^'\\]\)*'" contained
|
||||
syn match cleanIntegerDenot "[+-~]\=\<\(\d\+\|0[0-7]\+\|0x[0-9A-Fa-f]\+\)\>"
|
||||
syn match cleanRealDenot "[+-~]\=\<\d\+\.\d+\(E[+-~]\=\d+\)\="
|
||||
syn region cleanStringDenot start=+"+ skip=+\(\(\\\\\)\+\|\\"\)+ end=+"+ display
|
||||
syn match cleanCharDenot "'\(\\\\\|\\'\|[^'\\]\)\+'" display
|
||||
syn match cleanIntegerDenot "[\~+-]\?\<\(\d\+\|0[0-7]\+\|0x[0-9A-Fa-f]\+\)\>" display
|
||||
syn match cleanRealDenot "[\~+-]\?\d\+\.\d\+\(E[\~+-]\?\d\+\)\?" display
|
||||
|
||||
" To highlight the use of lists, tuples and arrays
|
||||
syn region cleanList start="\[" end="\]" contains=ALL
|
||||
@@ -44,11 +43,13 @@ syn region cleanArray start="{:" end=":}" contains=ALL
|
||||
syn match cleanTuple "([^=]*,[^=]*)" contains=ALL
|
||||
|
||||
" To do some Comment Highlighting
|
||||
syn region cleanComment start="/\*" end="\*/" contains=cleanComment
|
||||
syn match cleanComment "//.*"
|
||||
syn region cleanComment start="/\*" end="\*/" contains=cleanComment,cleanTodo fold
|
||||
syn region cleanComment start="//.*" end="$" display contains=cleanTodo
|
||||
syn keyword cleanTodo TODO FIXME XXX contained
|
||||
|
||||
" Now for some useful type definition recognition
|
||||
syn match cleanFuncTypeDef "\([a-zA-Z].*\|(\=[-~@#$%^?!+*<>\/|&=:]\+)\=\)\s*\(infix[lr]\=\)\=\s*\d\=\s*::.*->.*" contains=cleanSpecial,cleanBasicType,cleanSpecialType,cleanKeyword
|
||||
|
||||
" Now for some useful typedefinitionrecognition
|
||||
syn match cleanFuncTypeDef "\([a-zA-Z].*\|(\=[-~@#$%^?!+*<>\/|&=:]\+)\=\)[ \t]*\(infix[lr]\=\)\=[ \t]*\d\=[ \t]*::.*->.*" contains=cleanSpecial
|
||||
|
||||
" Define the default highlighting.
|
||||
" For version 5.7 and earlier: only when not done already
|
||||
@@ -64,7 +65,6 @@ if version >= 508 || !exists("did_clean_syntax_init")
|
||||
" Comments
|
||||
HiLink cleanComment Comment
|
||||
" Constants and denotations
|
||||
HiLink cleanCharsDenot String
|
||||
HiLink cleanStringDenot String
|
||||
HiLink cleanCharDenot Character
|
||||
HiLink cleanIntegerDenot Number
|
||||
@@ -91,6 +91,7 @@ if version >= 508 || !exists("did_clean_syntax_init")
|
||||
HiLink cleanTuple Special
|
||||
" Error
|
||||
" Todo
|
||||
HiLink cleanTodo Todo
|
||||
|
||||
delcommand HiLink
|
||||
endif
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
" Language: Diff (context or unified)
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Translations by Jakson Alves de Aquino.
|
||||
" Last Change: 2013 Jul 24
|
||||
" Last Change: 2013 Oct 06
|
||||
|
||||
" Quit when a (custom) syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -336,7 +336,7 @@ syn match diffLine "^---$"
|
||||
"Some versions of diff have lines like "#c#" and "#d#" (where # is a number)
|
||||
syn match diffLine "^\d\+\(,\d\+\)\=[cda]\d\+\>.*"
|
||||
|
||||
syn match diffFile "^diff.*"
|
||||
syn match diffFile "^diff\>.*"
|
||||
syn match diffFile "^+++ .*"
|
||||
syn match diffFile "^Index: .*"
|
||||
syn match diffFile "^==== .*"
|
||||
|
||||
@@ -1,26 +1,19 @@
|
||||
" Vim syntax file
|
||||
" Maintainer: Thilo Six
|
||||
" Contact: <vim-dev at vim dot org>
|
||||
" http://www.vim.org/maillist.php#vim-dev
|
||||
"
|
||||
" Contact: vim-foo@xk2c-foo.de
|
||||
" :3s+-foo++g
|
||||
" Description: highlight dnsmasq configuration files
|
||||
" File: runtime/syntax/dnsmasq.vim
|
||||
" Version: 2.61-1
|
||||
" Last Change: 2012 May 19
|
||||
" Version: 2.67
|
||||
" Last Change: 2013 Nov 03
|
||||
" Modeline: vim: ts=8:sw=2:sts=2:
|
||||
"
|
||||
" Credits: Igor N. Prischepoff
|
||||
" Doug Kearns
|
||||
" David Ne\v{c}as
|
||||
" Christian Brabandt
|
||||
"
|
||||
" License: VIM License
|
||||
" Vim is Charityware, see ":help Uganda"
|
||||
"
|
||||
" Options: You might want to add this to your vimrc:
|
||||
"
|
||||
" if &background == "dark"
|
||||
" " dnsmasq.vim
|
||||
" let dnsmasq_backrgound_light = 0
|
||||
" else
|
||||
" let dnsmasq_backrgound_light = 1
|
||||
@@ -28,8 +21,7 @@
|
||||
"
|
||||
|
||||
" For version 5.x: Clear all syntax items
|
||||
" For version 6.x: Quit when a syntax file was already loaded
|
||||
if version < 600
|
||||
if v:version < 600
|
||||
syntax clear
|
||||
elseif exists("b:current_syntax") || &compatible
|
||||
finish
|
||||
@@ -39,11 +31,11 @@ let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
if !exists("b:dnsmasq_backrgound_light")
|
||||
if exists("dnsmasq_backrgound_light")
|
||||
let b:dnsmasq_backrgound_light = dnsmasq_backrgound_light
|
||||
else
|
||||
let b:dnsmasq_backrgound_light = 0
|
||||
endif
|
||||
if exists("dnsmasq_backrgound_light")
|
||||
let b:dnsmasq_backrgound_light = dnsmasq_backrgound_light
|
||||
else
|
||||
let b:dnsmasq_backrgound_light = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
@@ -89,10 +81,13 @@ syn match DnsmasqKeywordSpecial ",\<ignore\>"hs=s+1 contains=DnsmasqSpecial
|
||||
syn match DnsmasqKeywordSpecial "\<id\>:"me=e-1
|
||||
|
||||
syn match DnsmasqKeyword "^\s*add-mac\>"
|
||||
syn match DnsmasqKeyword "^\s*add-subnet\>"
|
||||
syn match DnsmasqKeyword "^\s*addn-hosts\>"
|
||||
syn match DnsmasqKeyword "^\s*address\>"
|
||||
syn match DnsmasqKeyword "^\s*alias\>"
|
||||
syn match DnsmasqKeyword "^\s*all-servers\>"
|
||||
syn match DnsmasqKeyword "^\s*auth-zone\>"
|
||||
syn match DnsmasqKeyword "^\s*bind-dynamic\>"
|
||||
syn match DnsmasqKeyword "^\s*bind-interfaces\>"
|
||||
syn match DnsmasqKeyword "^\s*bogus-nxdomain\>"
|
||||
syn match DnsmasqKeyword "^\s*bogus-priv\>"
|
||||
@@ -128,6 +123,7 @@ syn match DnsmasqKeyword "^\s*dhcp-option-force\>"
|
||||
syn match DnsmasqKeyword "^\s*dhcp-optsfile\>"
|
||||
syn match DnsmasqKeyword "^\s*dhcp-proxy\>"
|
||||
syn match DnsmasqKeyword "^\s*dhcp-range\>"
|
||||
syn match DnsmasqKeyword "^\s*dhcp-relay\>"
|
||||
syn match DnsmasqKeyword "^\s*dhcp-remoteid\>"
|
||||
syn match DnsmasqKeyword "^\s*dhcp-script\>"
|
||||
syn match DnsmasqKeyword "^\s*dhcp-scriptuser\>"
|
||||
@@ -135,6 +131,7 @@ syn match DnsmasqKeyword "^\s*dhcp-sequential-ip\>"
|
||||
syn match DnsmasqKeyword "^\s*dhcp-subscrid\>"
|
||||
syn match DnsmasqKeyword "^\s*dhcp-userclass\>"
|
||||
syn match DnsmasqKeyword "^\s*dhcp-vendorclass\>"
|
||||
syn match DnsmasqKeyword "^\s*dns-rr\>"
|
||||
syn match DnsmasqKeyword "^\s*dns-forward-max\>"
|
||||
syn match DnsmasqKeyword "^\s*domain\>"
|
||||
syn match DnsmasqKeyword "^\s*domain-needed\>"
|
||||
@@ -149,6 +146,7 @@ syn match DnsmasqKeyword "^\s*group\>"
|
||||
syn match DnsmasqKeyword "^\s*host-record\>"
|
||||
syn match DnsmasqKeyword "^\s*interface\>"
|
||||
syn match DnsmasqKeyword "^\s*interface-name\>"
|
||||
syn match DnsmasqKeyword "^\s*ipset\>"
|
||||
syn match DnsmasqKeyword "^\s*keep-in-foreground\>"
|
||||
syn match DnsmasqKeyword "^\s*leasefile-ro\>"
|
||||
syn match DnsmasqKeyword "^\s*listen-address\>"
|
||||
@@ -161,6 +159,7 @@ syn match DnsmasqKeyword "^\s*log-dhcp\>"
|
||||
syn match DnsmasqKeyword "^\s*log-facility\>"
|
||||
syn match DnsmasqKeyword "^\s*log-queries\>"
|
||||
syn match DnsmasqKeyword "^\s*max-ttl\>"
|
||||
syn match DnsmasqKeyword "^\s*max-cache-ttl\>"
|
||||
syn match DnsmasqKeyword "^\s*min-port\>"
|
||||
syn match DnsmasqKeyword "^\s*mx-host\>"
|
||||
syn match DnsmasqKeyword "^\s*mx-target\>"
|
||||
@@ -180,6 +179,10 @@ syn match DnsmasqKeyword "^\s*ptr-record\>"
|
||||
syn match DnsmasqKeyword "^\s*pxe-prompt\>"
|
||||
syn match DnsmasqKeyword "^\s*pxe-service\>"
|
||||
syn match DnsmasqKeyword "^\s*query-port\>"
|
||||
syn match DnsmasqKeyword "^\s*quiet-ra\>"
|
||||
syn match DnsmasqKeyword "^\s*quiet-dhcp\>"
|
||||
syn match DnsmasqKeyword "^\s*quiet-dhcp6\>"
|
||||
syn match DnsmasqKeyword "^\s*ra-param\>"
|
||||
syn match DnsmasqKeyword "^\s*read-ethers\>"
|
||||
syn match DnsmasqKeyword "^\s*rebind-domain-ok\>"
|
||||
syn match DnsmasqKeyword "^\s*rebind-localhost-ok\>"
|
||||
@@ -189,6 +192,7 @@ syn match DnsmasqKeyword "^\s*server\>"
|
||||
syn match DnsmasqKeyword "^\s*srv-host\>"
|
||||
syn match DnsmasqKeyword "^\s*stop-dns-rebind\>"
|
||||
syn match DnsmasqKeyword "^\s*strict-order\>"
|
||||
syn match DnsmasqKeyword "^\s*synth-domain\>"
|
||||
syn match DnsmasqKeyword "^\s*tag-if\>"
|
||||
syn match DnsmasqKeyword "^\s*test\>"
|
||||
syn match DnsmasqKeyword "^\s*tftp-max\>"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: dts/dtsi (device tree files)
|
||||
" Maintainer: Daniel Mack <vim@zonque.org>
|
||||
" Last Change: 2013 Apr 05
|
||||
" Last Change: 2013 Oct 20
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@@ -11,11 +11,12 @@ syntax region dtsComment start="/\*" end="\*/"
|
||||
syntax match dtsReference "&[[:alpha:][:digit:]_]\+"
|
||||
syntax region dtsBinaryProperty start="\[" end="\]"
|
||||
syntax match dtsStringProperty "\".*\""
|
||||
syntax match dtsKeyword "/.*/"
|
||||
syntax match dtsKeyword "/.\{-1,\}/"
|
||||
syntax match dtsLabel "^[[:space:]]*[[:alpha:][:digit:]_]\+:"
|
||||
syntax match dtsNode /[[:alpha:][:digit:]-_]\+\(@[0-9a-fA-F]\+\|\)[[:space:]]*{/he=e-1
|
||||
syntax region dtsCellProperty start="<" end=">" contains=dtsReference,dtsBinaryProperty,dtsStringProperty,dtsComment
|
||||
syntax region dtsCommentInner start="/\*" end="\*/"
|
||||
syntax match dtsCommentLine "//.*$"
|
||||
|
||||
hi def link dtsCellProperty Number
|
||||
hi def link dtsBinaryProperty Number
|
||||
@@ -26,3 +27,4 @@ hi def link dtsNode Structure
|
||||
hi def link dtsReference Macro
|
||||
hi def link dtsComment Comment
|
||||
hi def link dtsCommentInner Comment
|
||||
hi def link dtsCommentLine Comment
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: J
|
||||
" Maintainer: David Bürgin <676c7473@gmail.com>
|
||||
" Last Change: 2013-09-21
|
||||
" Last Change: 2013-10-06
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@@ -33,11 +33,13 @@ syn match jNumber /\<_\=\d\+\%([eE]\d\+\)\=b_\=[0-9a-z]\+/
|
||||
syn match jNumber /\<__\=\>/
|
||||
syn match jNumber /\<_\=\d\+x\>/
|
||||
|
||||
syn match jComment /NB\..*$/
|
||||
syn match jComment /NB\..*$/ contains=jTodo,@Spell
|
||||
syn keyword jTodo TODO FIXME XXX contained
|
||||
|
||||
hi def link jControl Statement
|
||||
hi def link jString String
|
||||
hi def link jNumber Number
|
||||
hi def link jComment Comment
|
||||
hi def link jTodo Todo
|
||||
|
||||
let b:current_syntax = "j"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: Innovation Data Processing upstream.log file
|
||||
" Maintainer: Rob Owens <rowens@fdrinnovation.com>
|
||||
" Latest Revision: 2013-07-26
|
||||
" Latest Revision: 2013-09-19
|
||||
|
||||
" Quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -31,13 +31,14 @@ syn match upstreamlog_Profile / Profile: \zs\S\{1,8}/
|
||||
syn match upstreamlog_Profile / Profile: \zs\S\{1,8}\ze, /
|
||||
syn match upstreamlog_Profile /, profile: \zs\S\{1,8}\ze,/
|
||||
syn match upstreamlog_Profile /found Profile: \zs\S\{1,8}\ze,/
|
||||
syn match upstreamlog_Profile /Backup Profile: \zs\ze Version date/
|
||||
syn match upstreamlog_Profile /Backup Profile: \zs\S\{1,8}\ze Version date/
|
||||
syn match upstreamlog_Profile /Backup profile: \zs\S\{1,8}\ze Version date/
|
||||
syn match upstreamlog_Profile /Full of \zs\S\{1,8}\ze$/
|
||||
syn match upstreamlog_Profile /Incr. of \zs\S\{1,8}\ze$/
|
||||
syn match upstreamlog_Profile /Profile=\zs\S\{1,8}\ze,/
|
||||
" Target:
|
||||
syn region upstreamlog_Target start="Computer: \zs" end="\ze[\]\)]"
|
||||
syn region upstreamlog_Target start="Computer name \zs" end="\ze,"
|
||||
syn region upstreamlog_Target start="Computer name \zs\"" end="\"\ze"
|
||||
syn region upstreamlog_Target start="request to registered name \zs" end=" "
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: Innovation Data Processing usserver.log file
|
||||
" Maintainer: Rob Owens <rowens@fdrinnovation.com>
|
||||
" Latest Revision: 2013-07-26
|
||||
" Latest Revision: 2013-09-19
|
||||
|
||||
" Quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -36,13 +36,14 @@ syn match usserverlog_Profile /, profile: \zs\S\{1,8}\ze,/
|
||||
syn match usserverlog_Profile /Expecting Profile: \zs\S\{1,8}\ze,/
|
||||
syn match usserverlog_Profile /found Profile: \zs\S\{1,8}\ze,/
|
||||
syn match usserverlog_Profile /Profile \zs\S\{1,8} \zeis a member of group: /
|
||||
syn match usserverlog_Profile /Backup Profile: \zs\ze Version date/
|
||||
syn match upstreamlog_Profile /Backup Profile: \zs\S\{1,8}\ze Version date/
|
||||
syn match upstreamlog_Profile /Backup profile: \zs\S\{1,8}\ze Version date/
|
||||
syn match usserverlog_Profile /Full of \zs\S\{1,8}\ze$/
|
||||
syn match usserverlog_Profile /Incr. of \zs\S\{1,8}\ze$/
|
||||
syn match usserverlog_Profile /Profile=\zs\S\{1,8}\ze,/
|
||||
" Target:
|
||||
syn region usserverlog_Target start="Computer: \zs" end="\ze[\]\)]"
|
||||
syn region usserverlog_Target start="Computer name \zs" end="\ze,"
|
||||
syn region usserverlog_Target start="Computer name \zs\"" end="\"\ze"
|
||||
syn region usserverlog_Target start="Registration add request successful \zs" end="$"
|
||||
syn region usserverlog_Target start="request to registered name \zs" end=" "
|
||||
syn region usserverlog_Target start=", sending to \zs" end="$"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: Innovation Data Processing USW2KAgt.log file
|
||||
" Maintainer: Rob Owens <rowens@fdrinnovation.com>
|
||||
" Latest Revision: 2013-07-26
|
||||
" Latest Revision: 2013-09-19
|
||||
|
||||
" Quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -26,13 +26,14 @@ syn match usw2kagtlog_IPaddr / \d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/
|
||||
syn match usw2kagtlog_Profile /Profile name \zs\"\S\{1,8}\"/
|
||||
syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}/
|
||||
syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}\ze, /
|
||||
syn match usw2kagtlog_Profile /Backup Profile: \zs\ze Version date/
|
||||
syn match upstreamlog_Profile /Backup Profile: \zs\S\{1,8}\ze Version date/
|
||||
syn match upstreamlog_Profile /Backup profile: \zs\S\{1,8}\ze Version date/
|
||||
syn match usw2kagtlog_Profile /Full of \zs\S\{1,8}\ze$/
|
||||
syn match usw2kagtlog_Profile /Incr. of \zs\S\{1,8}\ze$/
|
||||
syn match usw2kagtlog_Profile /profile name "\zs\S\{1,8}\ze"/
|
||||
" Target:
|
||||
syn region usw2kagtlog_Target start="Computer: \zs" end="\ze[\]\)]"
|
||||
syn region usw2kagtlog_Target start="Computer name \zs" end="\ze,"
|
||||
syn region usw2kagtlog_Target start="Computer name \zs\"" end="\"\ze"
|
||||
" Agent Keywords:
|
||||
syn keyword usw2kagtlog_Agentword opened closed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user