1
0
forked from aniani/vim

Updated runtime files.

This commit is contained in:
Bram Moolenaar
2014-03-08 18:38:28 +01:00
parent 4de6a212f9
commit 0858917e43
13 changed files with 132 additions and 50 deletions

View File

@@ -3,7 +3,7 @@
" Maintainer: David Necas (Yeti) <yeti@physics.muni.cz>
" License: This file can be redistribued and/or modified under the same terms
" as Vim itself.
" Last Change: 2013-09-16
" Last Change: 2014-03-04
" Notes: Last synced with apache-2.2.3, version 1.x is no longer supported
" TODO: see particular FIXME's scattered through the file
" make it really linewise?
@@ -157,7 +157,7 @@ syn keyword apacheDeclaration PerlRestartHandler PerlDispatchHandler
syn keyword apacheDeclaration PerlFreshRestart PerlSendHeader
syn keyword apacheDeclaration php_value php_flag php_admin_value php_admin_flag
syn match apacheSection "<\/\=\(Proxy\|ProxyMatch\)[^>]*>" contains=apacheAnything
syn keyword apacheDeclaration AllowCONNECT NoProxy ProxyBadHeader ProxyBlock ProxyDomain ProxyErrorOverride ProxyIOBufferSize ProxyMaxForwards ProxyPass ProxyPassReverse ProxyPassReverseCookieDomain ProxyPassReverseCookiePath ProxyPreserveHost ProxyReceiveBufferSize ProxyRemote ProxyRemoteMatch ProxyRequests ProxyTimeout ProxyVia
syn keyword apacheDeclaration AllowCONNECT NoProxy ProxyBadHeader ProxyBlock ProxyDomain ProxyErrorOverride ProxyIOBufferSize ProxyMaxForwards ProxyPass ProxyPassMatch ProxyPassReverse ProxyPassReverseCookieDomain ProxyPassReverseCookiePath ProxyPreserveHost ProxyReceiveBufferSize ProxyRemote ProxyRemoteMatch ProxyRequests ProxyTimeout ProxyVia
syn keyword apacheDeclaration RewriteBase RewriteCond RewriteEngine RewriteLock RewriteLog RewriteLogLevel RewriteMap RewriteOptions RewriteRule
syn keyword apacheOption inherit
syn keyword apacheDeclaration BrowserMatch BrowserMatchNoCase SetEnvIf SetEnvIfNoCase

View File

@@ -1,11 +1,9 @@
" Vim syntax file
" Language: Euphoria 3.1.1 - supports DOS - (http://www.RapidEuphoria.com)
" Language: Euphoria 3.1.1 - supports DOS - (http://www.rapideuphoria.com/)
" Maintainer: Shian Lee
" Last Change: 2014 Feb 23 (for Vim 7.4)
" Remark: Using 'euphoria3.vim' if "$EUDIR\BIN\EX.EXE" or "$EUDIR/bin/exu"
" file exist; else, using 'euphoria4.vim' for Euphoria 4.x.x.
" Filetype: *.e, *.eu, *.ew, *.ex, *.exu, *.exw (also in UPPER case).
" note: *.e|*.E are used by Eiffel; for solution see :help filetype.
" Last Change: 2014 Feb 24 (for Vim 7.4)
" Remark: Euphoria has two syntax files, euphoria3.vim and euphoria4.vim;
" For details see :help ft-euphoria-syntax
" Quit if a (custom) syntax file was already loaded (compatible with Vim 5.8):
if version < 600
@@ -14,6 +12,10 @@ elseif exists("b:current_syntax")
finish
endif
" Reset compatible-options to Vim default value, just in case:
let s:save_cpo = &cpo
set cpo&vim
" Should suffice for very long expressions:
syn sync lines=40
@@ -127,3 +129,7 @@ hi def link euphoria3Delimit Delimiter
let b:current_syntax = "euphoria3"
" Restore current compatible-options:
let &cpo = s:save_cpo
unlet s:save_cpo

View File

@@ -1,11 +1,9 @@
" Vim syntax file
" Language: Euphoria 4.0.5 (http://www.RapidEuphoria.com)
" Language: Euphoria 4.0.5 (http://www.openeuphoria.org/)
" Maintainer: Shian Lee
" Last Change: 2014 Feb 23 (for Vim 7.4)
" Remark: Using 'euphoria3.vim' if "$EUDIR\BIN\EX.EXE" or "$EUDIR/bin/exu"
" file exist; else, using 'euphoria4.vim' for Euphoria 4.x.x.
" Filetype: *.e, *.eu, *.ew, *.ex, *.exu, *.exw (also in UPPER case).
" note: *.e|*.E are used by Eiffel; for solution see :help filetype.
" Last Change: 2014 Feb 24 (for Vim 7.4)
" Remark: Euphoria has two syntax files, euphoria3.vim and euphoria4.vim;
" For details see :help ft-euphoria-syntax
" Quit if a (custom) syntax file was already loaded (compatible with Vim 5.8):
if version < 600
@@ -14,6 +12,10 @@ elseif exists("b:current_syntax")
finish
endif
" Reset compatible-options to Vim default value, just in case:
let s:save_cpo = &cpo
set cpo&vim
" Should suffice for very long strings and expressions:
syn sync lines=40
@@ -238,3 +240,7 @@ hi def link euphoria4PreProc PreProc
let b:current_syntax = "euphoria4"
" Restore current compatible-options:
let &cpo = s:save_cpo
unlet s:save_cpo

View File

@@ -1,8 +1,9 @@
" Filename: spec.vim
" Purpose: Vim syntax file
" Language: SPEC: Build/install scripts for Linux RPM packages
" Maintainer: Donovan Rebbechi elflord@panix.com
" Last Change: Fri Dec 3 11:54 EST 2004 Marcin Dalecki
" Maintainer: Igor Gnatenko i.gnatenko.brain@gmail.com
" Former Maintainer: Donovan Rebbechi elflord@panix.com (until March 2014)
" Last Change: Sun Mar 2 10:33 MSK 2014 Igor Gnatenko
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
@@ -82,8 +83,8 @@ syn keyword specMacroNameLocal contained _arch _binary_payload _bindir _build _b
"One line macros - valid in all ScriptAreas
"tip: remember do include new items on specScriptArea's skip section
syn region specSectionMacroArea oneline matchgroup=specSectionMacro start='^%\(define\|patch\d*\|setup\|configure\|GNUconfigure\|find_lang\|makeinstall\|include\)\>' end='$' contains=specCommandOpts,specMacroIdentifier
syn region specSectionMacroBracketArea oneline matchgroup=specSectionMacro start='^%{\(configure\|GNUconfigure\|find_lang\|makeinstall\)}' end='$' contains=specCommandOpts,specMacroIdentifier
syn region specSectionMacroArea oneline matchgroup=specSectionMacro start='^%\(define\|global\|patch\d*\|setup\|configure\|GNUconfigure\|find_lang\|makeinstall\|make_install\|include\)\>' end='$' contains=specCommandOpts,specMacroIdentifier
syn region specSectionMacroBracketArea oneline matchgroup=specSectionMacro start='^%{\(configure\|GNUconfigure\|find_lang\|makeinstall\|make_install\)}' end='$' contains=specCommandOpts,specMacroIdentifier
"%% Files Section %%
"TODO %config valid parameters: missingok\|noreplace
@@ -113,7 +114,7 @@ syn region specDescriptionArea matchgroup=specSection start='^%description' end=
syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1 contains=specPackageOpts,specPreAmble,specComment
"%% Scripts Section %%
syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
"%% Changelog Section %%
syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1 contains=specEmail,specURL,specWeekday,specMonth,specNumber,specComment,specLicense