forked from aniani/vim
Updated runtime files.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: dts/dtsi (device tree files)
|
||||
" Maintainer: Daniel Mack <vim@zonque.org>
|
||||
" Last Change: 2013 Mar 11
|
||||
" Last Change: 2013 Apr 05
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@@ -13,7 +13,7 @@ syntax region dtsBinaryProperty start="\[" end="\]"
|
||||
syntax match dtsStringProperty "\".*\""
|
||||
syntax match dtsKeyword "/.*/"
|
||||
syntax match dtsLabel "^[[:space:]]*[[:alpha:][:digit:]_]\+:"
|
||||
syntax match dtsNode /[[:alpha:][:digit:]-_]\+\(@[0-9a-eA-E]\+\|\)[[:space:]]*{/he=e-1
|
||||
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="\*/"
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
" pf syntax file
|
||||
" Language: OpenBSD packet filter configuration (pf.conf)
|
||||
" Maintainer: Camiel Dobbelaar <cd@sentia.nl>
|
||||
" Last Change: 2003 May 27
|
||||
" Language: OpenBSD packet filter configuration (pf.conf)
|
||||
" Original Author: Camiel Dobbelaar <cd@sentia.nl>
|
||||
" Maintainer: Lauri Tirkkonen <lotheac@iki.fi>
|
||||
" Last Change: 2013 Apr 02
|
||||
|
||||
" For version 5.x: Clear all syntax items
|
||||
" For version 6.x: Quit when a syntax file was already loaded
|
||||
@@ -14,7 +15,7 @@ endif
|
||||
setlocal foldmethod=syntax
|
||||
syn sync fromstart
|
||||
|
||||
syn cluster pfNotLS contains=pfComment,pfTodo,pfVarAssign
|
||||
syn cluster pfNotLS contains=pfTodo,pfVarAssign
|
||||
syn keyword pfCmd altq anchor antispoof binat nat pass
|
||||
syn keyword pfCmd queue rdr scrub table set
|
||||
syn keyword pfService auth bgp domain finger ftp http https ident
|
||||
|
||||
25
runtime/syntax/rng.vim
Normal file
25
runtime/syntax/rng.vim
Normal file
@@ -0,0 +1,25 @@
|
||||
" Vim syntax file
|
||||
" Language: RELAX NG
|
||||
" Maintainer: Jaromir Hradilek <jhradilek@gmail.com>
|
||||
" URL: https://github.com/jhradilek/vim-rng
|
||||
" Last Change: 25 March 2013
|
||||
" Description: A syntax file for RELAX NG, a schema language for XML
|
||||
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
endif
|
||||
|
||||
do Syntax xml
|
||||
syn spell toplevel
|
||||
syn cluster xmlTagHook add=rngTagName
|
||||
syn case match
|
||||
|
||||
syn keyword rngTagName anyName attribute choice data define div contained
|
||||
syn keyword rngTagName element empty except externalRef grammar contained
|
||||
syn keyword rngTagName group include interleave list mixed name contained
|
||||
syn keyword rngTagName notAllowed nsName oneOrMore optional param contained
|
||||
syn keyword rngTagName parentRef ref start text value zeroOrMore contained
|
||||
|
||||
hi def link rngTagName Statement
|
||||
|
||||
let b:current_syntax = 'rng'
|
||||
Reference in New Issue
Block a user