From 9d8238cef09d8cb7c270b616ec56a335e0ac0854 Mon Sep 17 00:00:00 2001 From: René Neumann Date: Tue, 4 Sep 2012 16:20:28 +0200 Subject: Move to bundles in vim -- also remove old craft --- .vim/syntax/CVSAnnotate.vim | 45 -------- .vim/syntax/SVKAnnotate.vim | 42 -------- .vim/syntax/SVNAnnotate.vim | 40 -------- .vim/syntax/cobra.vim | 169 ------------------------------ .vim/syntax/gitAnnotate.vim | 44 -------- .vim/syntax/lighttpd.vim | 245 -------------------------------------------- .vim/syntax/palmos.vim | 41 -------- .vim/syntax/scons.vim | 75 -------------- .vim/syntax/swig.vim | 44 -------- .vim/syntax/vala.vim | 172 ------------------------------- .vim/syntax/vcscommit.vim | 31 ------ 11 files changed, 948 deletions(-) delete mode 100644 .vim/syntax/CVSAnnotate.vim delete mode 100644 .vim/syntax/SVKAnnotate.vim delete mode 100644 .vim/syntax/SVNAnnotate.vim delete mode 100644 .vim/syntax/cobra.vim delete mode 100644 .vim/syntax/gitAnnotate.vim delete mode 100644 .vim/syntax/lighttpd.vim delete mode 100755 .vim/syntax/palmos.vim delete mode 100644 .vim/syntax/scons.vim delete mode 100644 .vim/syntax/swig.vim delete mode 100644 .vim/syntax/vala.vim delete mode 100644 .vim/syntax/vcscommit.vim (limited to '.vim/syntax') diff --git a/.vim/syntax/CVSAnnotate.vim b/.vim/syntax/CVSAnnotate.vim deleted file mode 100644 index 4af5809..0000000 --- a/.vim/syntax/CVSAnnotate.vim +++ /dev/null @@ -1,45 +0,0 @@ -" Vim syntax file -" Language: CVS annotate output -" Maintainer: Bob Hiestand -" Remark: Used by the cvscommand plugin. Originally written by Mathieu -" Clabaut -" License: -" Copyright (c) 2007 Bob Hiestand -" -" Permission is hereby granted, free of charge, to any person obtaining a copy -" of this software and associated documentation files (the "Software"), to -" deal in the Software without restriction, including without limitation the -" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -" sell copies of the Software, and to permit persons to whom the Software is -" furnished to do so, subject to the following conditions: -" -" The above copyright notice and this permission notice shall be included in -" all copies or substantial portions of the Software. -" -" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -" IN THE SOFTWARE. - -if version < 600 - syntax clear -elseif exists("b:current_syntax") - finish -endif - -syn match cvsDate /\d\d-...-\d\d/ contained -syn match cvsName /(\S* /hs=s+1,he=e-1 contained nextgroup=cvsDate -syn match cvsVer /^\d\+\(\.\d\+\)\+/ contained nextgroup=cvsName -syn region cvsHead start="^\d\+\.\d\+" end="):" contains=cvsVer,cvsName,cvsDate - -if !exists("did_cvsannotate_syntax_inits") - let did_cvsannotate_syntax_inits = 1 - hi link cvsDate Comment - hi link cvsName Type - hi link cvsVer Statement -endif - -let b:current_syntax="CVSAnnotate" diff --git a/.vim/syntax/SVKAnnotate.vim b/.vim/syntax/SVKAnnotate.vim deleted file mode 100644 index 3c53c3c..0000000 --- a/.vim/syntax/SVKAnnotate.vim +++ /dev/null @@ -1,42 +0,0 @@ -" Vim syntax file -" Language: SVK annotate output -" Maintainer: Bob Hiestand -" Remark: Used by the vcscommand plugin. -" License: -" Copyright (c) 2007 Bob Hiestand -" -" Permission is hereby granted, free of charge, to any person obtaining a copy -" of this software and associated documentation files (the "Software"), to -" deal in the Software without restriction, including without limitation the -" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -" sell copies of the Software, and to permit persons to whom the Software is -" furnished to do so, subject to the following conditions: -" -" The above copyright notice and this permission notice shall be included in -" all copies or substantial portions of the Software. -" -" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -" IN THE SOFTWARE. - -if exists("b:current_syntax") - finish -endif - -syn match svkDate /\d\{4}-\d\{1,2}-\d\{1,2}/ skipwhite contained -syn match svkName /(\s*\zs\S\+/ contained nextgroup=svkDate skipwhite -syn match svkVer /^\s*\d\+/ contained nextgroup=svkName skipwhite -syn region svkHead start=/^/ end="):" contains=svkVer,svkName,svkDate oneline - -if !exists("did_svkannotate_syntax_inits") - let did_svkannotate_syntax_inits = 1 - hi link svkName Type - hi link svkDate Comment - hi link svkVer Statement -endif - -let b:current_syntax="svkAnnotate" diff --git a/.vim/syntax/SVNAnnotate.vim b/.vim/syntax/SVNAnnotate.vim deleted file mode 100644 index d46f771..0000000 --- a/.vim/syntax/SVNAnnotate.vim +++ /dev/null @@ -1,40 +0,0 @@ -" Vim syntax file -" Language: SVN annotate output -" Maintainer: Bob Hiestand -" Remark: Used by the vcscommand plugin. -" License: -" Copyright (c) 2007 Bob Hiestand -" -" Permission is hereby granted, free of charge, to any person obtaining a copy -" of this software and associated documentation files (the "Software"), to -" deal in the Software without restriction, including without limitation the -" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -" sell copies of the Software, and to permit persons to whom the Software is -" furnished to do so, subject to the following conditions: -" -" The above copyright notice and this permission notice shall be included in -" all copies or substantial portions of the Software. -" -" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -" IN THE SOFTWARE. - -if exists("b:current_syntax") - finish -endif - -syn match svnName /\S\+/ contained -syn match svnVer /^\s\+\zs\d\+/ contained nextgroup=svnName skipwhite -syn match svnHead /^\s\+\d\+\s\+\S\+/ contains=svnVer,svnName - -if !exists("did_svnannotate_syntax_inits") - let did_svnannotate_syntax_inits = 1 - hi link svnName Type - hi link svnVer Statement -endif - -let b:current_syntax="svnAnnotate" diff --git a/.vim/syntax/cobra.vim b/.vim/syntax/cobra.vim deleted file mode 100644 index b84158e..0000000 --- a/.vim/syntax/cobra.vim +++ /dev/null @@ -1,169 +0,0 @@ -" Vim syntax file -" Language: Cobra -" Maintainer: -" Updated: 2008-10-11 -" -" -" Options to control Cobra syntax highlighting: -" -" For highlighted numbers: -" -" let cobra_highlight_numbers = 1 -" -" For highlighted builtin functions: -" -" let cobra_highlight_builtins = 1 -" -" For highlighted standard exceptions: -" -" let cobra_highlight_exceptions = 1 -" -" Highlight erroneous whitespace: -" -" let cobra_highlight_space_errors = 1 -" -" If you want all possible Cobra highlighting (the same as setting the -" preceding options): -" -" let cobra_highlight_all = 1 -" - -" For version 5.x: Clear all syntax items -" For version 6.x: Quit when a syntax file was already loaded -if version < 600 - syntax clear -elseif exists("b:current_syntax") - finish -endif - -syn keyword cobraStatement abstract all any as -syn keyword cobraStatement assembly assert base be body -syn keyword cobraStatement bool branch break callable catch -syn keyword cobraStatement char class continue ct_trace cue -syn keyword cobraStatement decimal def Dictionary dynamic -syn keyword cobraStatement ensure enum event expect extend -syn keyword cobraStatement extern fake false finally float -syn keyword cobraStatement float32 float64 get -syn keyword cobraStatement has ignore implements implies -syn keyword cobraStatement inherits init inlined inout -syn keyword cobraStatement int int16 int32 int64 int8 -syn keyword cobraStatement interface internal invariant List -syn keyword cobraStatement listen must namespace new nil -syn keyword cobraStatement nonvirtual number of off -syn keyword cobraStatement old on out override -syn keyword cobraStatement partial pass passthrough print -syn keyword cobraStatement private pro protected public raise -syn keyword cobraStatement ref require result return set -syn keyword cobraStatement Set shared sig stop String -syn keyword cobraStatement struct success test this throw -syn keyword cobraStatement to to? trace true try -syn keyword cobraStatement Type uint uint16 uint32 uint64 -syn keyword cobraStatement uint8 using value var -syn keyword cobraStatement vari virtual where yield - -syn match cobraFunction "[a-zA-Z_][a-zA-Z0-9_]*" contained -syn keyword cobraRepeat for while post -syn keyword cobraConditional if else -syn keyword cobraOperator and in is not or -syn keyword cobraPreCondit use from import -syn match cobraComment "#.*$" contains=cobraTodo,@Spell -syn keyword cobraTodo TODO FIXME XXX contained - -" strings -syn region cobraString matchgroup=Normal start=+[uU]\='+ end=+'+ skip=+\\\\\|\\'+ contains=cobraEscape,@Spell -syn region cobraString matchgroup=Normal start=+[uU]\="+ end=+"+ skip=+\\\\\|\\"+ contains=cobraEscape,@Spell -syn region cobraString matchgroup=Normal start=+[uU]\="""+ end=+"""+ contains=cobraEscape,@Spell -syn region cobraString matchgroup=Normal start=+[uU]\='''+ end=+'''+ contains=cobraEscape,@Spell -syn region cobraRawString matchgroup=Normal start=+[uU]\=[rR]'+ end=+'+ skip=+\\\\\|\\'+ contains=@Spell -syn region cobraRawString matchgroup=Normal start=+[uU]\=[rR]"+ end=+"+ skip=+\\\\\|\\"+ contains=@Spell -syn region cobraRawString matchgroup=Normal start=+[uU]\=[rR]"""+ end=+"""+ contains=@Spell -syn region cobraRawString matchgroup=Normal start=+[uU]\=[rR]'''+ end=+'''+ contains=@Spell -syn match cobraEscape +\\[abfnrtv'"\\]+ contained -syn match cobraEscape "\\\o\{1,3}" contained -syn match cobraEscape "\\x\x\{2}" contained -syn match cobraEscape "\(\\u\x\{4}\|\\U\x\{8}\)" contained -syn match cobraEscape "\\$" - -if exists("cobra_highlight_all") - let cobra_highlight_numbers = 1 - let cobra_highlight_builtins = 1 - let cobra_highlight_exceptions = 1 - let cobra_highlight_space_errors = 1 -endif - -if exists("cobra_highlight_numbers") - " numbers (including longs and complex) - syn match cobraNumber "\<0x\x\+[Ll]\=\>" - syn match cobraNumber "\<\d\+[LljJ]\=\>" - syn match cobraNumber "\.\d\+\([eE][+-]\=\d\+\)\=[jJ]\=\>" - syn match cobraNumber "\<\d\+\.\([eE][+-]\=\d\+\)\=[jJ]\=\>" - syn match cobraNumber "\<\d\+\.\d\+\([eE][+-]\=\d\+\)\=[jJ]\=\>" -endif - -if exists("cobra_highlight_builtins") - " builtin functions, types and objects, not really part of the syntax - syn keyword cobraBuiltin True False bool -endif - -if exists("cobra_highlight_exceptions") - " builtin exceptions and warnings - syn keyword cobraException Exception -endif - -if exists("cobra_highlight_space_errors") - " trailing whitespace - syn match cobraSpaceError display excludenl "\S\s\+$"ms=s+1 - " mixed tabs and spaces - syn match cobraSpaceError display " \+\t" - syn match cobraSpaceError display "\t\+ " -endif - -" This is fast but code inside triple quoted strings screws it up. It -" is impossible to fix because the only way to know if you are inside a -" triple quoted string is to start from the beginning of the file. If -" you have a fast machine you can try uncommenting the "sync minlines" -" and commenting out the rest. -syn sync match cobraSync grouphere NONE "):$" -syn sync maxlines=200 -"syn sync minlines=2000 - -if version >= 508 || !exists("did_cobra_syn_inits") - if version <= 508 - let did_cobra_syn_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif - - " The default methods for highlighting. Can be overridden later - HiLink cobraStatement Statement - HiLink cobraFunction Function - HiLink cobraConditional Conditional - HiLink cobraRepeat Repeat - HiLink cobraString String - HiLink cobraRawString String - HiLink cobraEscape Special - HiLink cobraOperator Operator - HiLink cobraPreCondit PreCondit - HiLink cobraComment Comment - HiLink cobraTodo Todo - HiLink cobraDecorator Define - if exists("cobra_highlight_numbers") - HiLink cobraNumber Number - endif - if exists("cobra_highlight_builtins") - HiLink cobraBuiltin Function - endif - if exists("cobra_highlight_exceptions") - HiLink cobraException Exception - endif - if exists("cobra_highlight_space_errors") - HiLink cobraSpaceError Error - endif - - delcommand HiLink -endif - -let b:current_syntax = "cobra" - -" vim: ts=8 diff --git a/.vim/syntax/gitAnnotate.vim b/.vim/syntax/gitAnnotate.vim deleted file mode 100644 index fdc0bd1..0000000 --- a/.vim/syntax/gitAnnotate.vim +++ /dev/null @@ -1,44 +0,0 @@ -" Vim syntax file -" Language: git annotate output -" Maintainer: Bob Hiestand -" Remark: Used by the vcscommand plugin. -" License: -" Copyright (c) 2009 Bob Hiestand -" -" Permission is hereby granted, free of charge, to any person obtaining a copy -" of this software and associated documentation files (the "Software"), to -" deal in the Software without restriction, including without limitation the -" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -" sell copies of the Software, and to permit persons to whom the Software is -" furnished to do so, subject to the following conditions: -" -" The above copyright notice and this permission notice shall be included in -" all copies or substantial portions of the Software. -" -" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -" IN THE SOFTWARE. - -if exists("b:current_syntax") - finish -endif - -syn region gitName start="(\@<=" end="\( \d\d\d\d-\)\@=" contained -syn match gitCommit /^\x\+/ contained -syn match gitDate /\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d [+-]\d\d\d\d/ contained -syn match gitLineNumber /\d\+)\@=/ contained -syn region gitAnnotation start="^" end=") " oneline keepend contains=gitCommit,gitLineNumber,gitDate,gitName - -if !exists("did_gitannotate_syntax_inits") - let did_gitannotate_syntax_inits = 1 - hi link gitName Type - hi link gitCommit Statement - hi link gitDate Comment - hi link gitLineNumber Label -endif - -let b:current_syntax="gitAnnotate" diff --git a/.vim/syntax/lighttpd.vim b/.vim/syntax/lighttpd.vim deleted file mode 100644 index 92c7baf..0000000 --- a/.vim/syntax/lighttpd.vim +++ /dev/null @@ -1,245 +0,0 @@ -" Vim syntax file -" Language: lighttpd config, http://www.lighttpd.net/ -" URL: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-syntax-lighttpd/lighttpd.vim -" Version Info: $Revision: 1.16 $ -" Maintainer: Elan Ruusamäe -" Last Change: $Date: 2009/11/09 12:52:16 $ UTC - -" For version 5.x: Clear all syntax items -" For version 6.x: Quit when a syntax file was already loaded -if version < 600 - syntax clear -elseif exists("b:current_syntax") - finish -endif - -syn case match - -if version < 600 - set iskeyword+=.,- -else - setlocal iskeyword+=.,- -endif - -" define the lighttpd syntax -" see also http://redmine.lighttpd.net/wiki/lighttpd/Docs:Configuration -syn match lighttpdDelimiter "[{}()\[\];,]" -syn match lighttpdOperator "[~!=|&\*\+\<\>]" -syn match lighttpdComment "\(#.*\)" -syn match lighttpdNumber "[-+]\=\<\d\+\(\.\d*\)\=\>" -syn region lighttpdString start=+"+ skip=+\\"+ end=+"+ -syn keyword lighttpdConditional else -syn match lighttpdServerVar /\$\(HTTP\|SERVER\|PHYSICAL\)\>/ -syn match lighttpdFunction /"\(cookie\|host\|useragent\|referer\|url\|querystring\|remoteip\|scheme\|socket\|path\|existing-path\)"/ - -" internal keywords -syn keyword lighttpdKeyword include include_shell - -syn match lighttpdSpecial /"\(dis\|en\)able"/ - -" module options -syn match lighttpdOption /var\.[A-Za-z][_A-Za-z0-9]*/ -syn keyword lighttpdOption - \ accesslog.filename - \ accesslog.format - \ accesslog.use-syslog - \ alias.url - \ auth.backend - \ auth.backend.htdigest.userfile - \ auth.backend.htpasswd.userfile - \ auth.backend.ldap.allow-empty-pw - \ auth.backend.ldap.base-dn - \ auth.backend.ldap.bind-dn - \ auth.backend.ldap.bind-pw - \ auth.backend.ldap.ca-file - \ auth.backend.ldap.filter - \ auth.backend.ldap.hostname - \ auth.backend.ldap.starttls - \ auth.backend.plain.groupfile - \ auth.backend.plain.userfile - \ auth.debug - \ auth.require - \ cgi.assign - \ cgi.execute-x-only - \ cml.extension - \ cml.memcache-hosts - \ cml.memcache-namespace - \ cml.power-magnet - \ compress.allowed-encodings - \ compress.cache-dir - \ compress.filetype - \ compress.max-filesize - \ connection.kbytes-per-second - \ debug.log-condition-handling - \ debug.log-file-not-found - \ debug.log-request-handling - \ debug.log-request-header - \ debug.log-request-header-on-error - \ debug.log-response-header - \ debug.log-ssl-noise - \ debug.log-state-handling - \ debug.log-timeouts - \ dir-listing.activate - \ dir-listing.auto-layout - \ dir-listing.encode-header - \ dir-listing.encode-readme - \ dir-listing.encoding - \ dir-listing.exclude - \ dir-listing.external-css - \ dir-listing.hide-dotfiles - \ dir-listing.hide-header-file - \ dir-listing.hide-readme-file - \ dir-listing.set-footer - \ dir-listing.show-header - \ dir-listing.show-readme - \ etag.use-inode - \ etag.use-mtime - \ etag.use-size - \ evasive.http-status-code - \ evasive.max-conns-per-ip - \ evasive.retry-after - \ evasive.silent - \ evhost.path-pattern - \ expire.url - \ extforward.forwarder - \ extforward.headers - \ fastcgi.debug - \ fastcgi.map-extensions - \ fastcgi.server - \ flv-streaming.extensions - \ h264-streaming.extensions - \ index-file.names - \ mimetype.assign - \ mimetype.use-xattr - \ proxy.balance - \ proxy.debug - \ proxy.server - \ rrdtool.binary - \ rrdtool.db-name - \ scgi.debug - \ scgi.server - \ secdownload.document-root - \ secdownload.secret - \ secdownload.timeout - \ secdownload.uri-prefix - \ server.bind - \ server.breakagelog - \ server.chroot - \ server.core-files - \ server.defer-accept - \ server.dir-listing - \ server.document-root - \ server.errorfile-prefix - \ server.error-handler-404 - \ server.errorlog - \ server.errorlog-use-syslog - \ server.event-handler - \ server.follow-symlink - \ server.force-lowercase-filenames - \ server.groupname - \ server.indexfiles - \ server.kbytes-per-second - \ server.max-connections - \ server.max-fds - \ server.max-keep-alive-idle - \ server.max-keep-alive-requests - \ server.max-read-idle - \ server.max-request-size - \ server.max-worker - \ server.max-write-idle - \ server.modules - \ server.name - \ server.network-backend - \ server.pid-file - \ server.port - \ server.protocol-http11 - \ server.range-requests - \ server.reject-expect-100-with-417 - \ server.stat-cache-engine - \ server.tag - \ server.upload-dirs - \ server.use-ipv6 - \ server.username - \ setenv.add-environment - \ setenv.add-request-header - \ setenv.add-response-header - \ simple-vhost.debug - \ simple-vhost.default-host - \ simple-vhost.document-root - \ simple-vhost.server-root - \ ssi.content-type - \ ssi.extension - \ ssl.ca-file - \ ssl.cipher-list - \ ssl.engine - \ ssl.pemfile - \ ssl.use-sslv2 - \ ssl.verifyclient.activate - \ ssl.verifyclient.depth - \ ssl.verifyclient.enforce - \ ssl.verifyclient.exportcert - \ ssl.verifyclient.username - \ static-file.etags - \ static-file.exclude-extensions - \ status.config-url - \ status.enable-sort - \ status.statistics-url - \ status.status-url - \ trigger-before-download.debug - \ trigger-before-download.deny-url - \ trigger-before-download.download-url - \ trigger-before-download.gdbm-filename - \ trigger-before-download.memcache-hosts - \ trigger-before-download.memcache-namespace - \ trigger-before-download.trigger-timeout - \ trigger-before-download.trigger-url - \ url.access-deny - \ url.redirect - \ url.rewrite - \ url.rewrite-final - \ url.rewrite-if-not-file - \ url.rewrite-once - \ url.rewrite-repeat - \ url.rewrite-repeat-if-not-file - \ userdir.basepath - \ userdir.exclude-user - \ userdir.include-user - \ userdir.letterhomes - \ userdir.path - \ usertrack.cookie-domain - \ usertrack.cookie-max-age - \ usertrack.cookie-name - \ webdav.activate - \ webdav.is-readonly - \ webdav.log-xml - \ webdav.sqlite-db-name - -" Define the default highlighting. -" For version 5.7 and earlier: only when not done already -" For version 5.8 and later: only when an item doesn't have highlighting yet -if version >= 508 || !exists("did_lighttpd_syntax_inits") - if version < 508 - let did_lighttpd_syntax_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif - - HiLink lighttpdDelimiter Delimiter - HiLink lighttpdOperator Operator - HiLink lighttpdComment Comment - HiLink lighttpdNumber Number - HiLink lighttpdFunction Function - HiLink lighttpdKeyword Keyword - HiLink lighttpdOption Identifier - HiLink lighttpdSpecial Special - HiLink lighttpdConditional Conditional - HiLink lighttpdString String - HiLink lighttpdServerVar Identifier - - delcommand HiLink -endif - -let b:current_syntax = "lighttpd" - -" vim: ts=4 diff --git a/.vim/syntax/palmos.vim b/.vim/syntax/palmos.vim deleted file mode 100755 index 2fd60cc..0000000 --- a/.vim/syntax/palmos.vim +++ /dev/null @@ -1,41 +0,0 @@ -" Vim syntax file -" Language: PalmOS -" Maintainer: René Neumann aka Necoro -" Last Change: 2004 May 29 - -" For version 5.x: Clear all syntax items -" For version 6.x: Quit when a syntax file was already loaded -"if version < 600 -" syntax clear -"elseif exists("b:current_syntax") -" finish -"endif - -" Read the C++ syntax to start with -if version < 600 - so :p:h/cpp.vim -else - runtime! syntax/cpp.vim - unlet b:current_syntax -endif - - -" PalmOS extentions -syn keyword palmGenType UInt8 UInt16 UInt32 Int8 Int16 Int32 Boolean Char MemHandle MemPtr DmOpenRef WChar Err -syn keyword palmUsefulTypes ListType ControlType FormType FieldType ScrollBarType TableType DateType DateTimeType RectangleType EventType -syn keyword palmUsefulPtrs ListPtr ControlPtr FormPtr FieldPtr ScrollBarPtr TablePtr DatePtr DateTimePtr RectanglePtr EventPtr -syn keyword palmNetTypes NetSocketRef NetSocketAddrType NetSocketAddrINType NetHostInfoBufType -syn keyword palmNoDeleteNew delete new -syn keyword palmExceptions ErrThrow ErrCatch ErrEndCatch ErrTry - -command -nargs=+ HiLink hi def link - - HiLink palmExceptions Exception - HiLink palmNoDeleteNew ErrorMsg - HiLink palmGenType Type - HiLink palmUsefulTypes Type - HiLink palmUsefulPtrs Type - HiLink palmNetTypes Type - delcommand HiLink - -let b:current_syntax = "palmos" diff --git a/.vim/syntax/scons.vim b/.vim/syntax/scons.vim deleted file mode 100644 index 0b63f9c..0000000 --- a/.vim/syntax/scons.vim +++ /dev/null @@ -1,75 +0,0 @@ -" Vim syntax file -" Language: SConscript -" Maintainer: Xi Wang -" Last Change: 2006 Nov 15 - -if version < 600 - syntax clear -elseif exists("b:current_syntax") - finish -endif - -" Read the Python syntax to start with -if version < 600 - so :p:h/python.vim -else - runtime! syntax/python.vim - unlet b:current_syntax -endif - -" SConscript extentions -syn keyword sconsTarget CFile CXXFile DVI Jar Java JavaH -syn keyword sconsTarget Library LoadableModule M4 Moc -syn keyword sconsTarget MSVSProject MSVSSolution Object -syn keyword sconsTarget PCH PDF PostScript Program -syn keyword sconsTarget RES RMIC RPCGenClient RPCGenHeader -syn keyword sconsTarget RPCGenService RPCGenXDR -syn keyword sconsTarget SharedLibrary SharedObject -syn keyword sconsTarget StaticLibrary StaticObject -syn keyword sconsTarget Tar TypeLibrary Uic Zip -syn keyword sconsEnv Action AddPostAction AddPreAction -syn keyword sconsEnv Alias AlwaysBuild Append AppendENVPath -syn keyword sconsEnv AppendUnique BitKeeper -syn keyword sconsEnv BuildDir Builder CacheDir Clean -syn keyword sconsEnv Command Configure Clone Copy CVS -syn keyword sconsEnv Default DefaultEnvironment -syn keyword sconsEnv Depends Dictionary Dir Dump -syn keyword sconsEnv EnsurePythonVersion EnsureSConsVersion -syn keyword sconsEnv Environment Execute Exit Export -syn keyword sconsEnv File FindFile Flatten -syn keyword sconsEnv GetBuildPath GetLaunchDir GetOption -syn keyword sconsEnv Help Ignore Import Install InstallAs -syn keyword sconsEnv Literal Local MergeFlags NoClean -syn keyword sconsEnv ParseConfig ParseDepends ParseFlags -syn keyword sconsEnv Preforce Platform Precious -syn keyword sconsEnv Prepend PrependENVPath PrependUnique -syn keyword sconsEnv RCS Replace Repository Return -syn keyword sconsEnv Scanner SCCS SConscript SConscriptChdir -syn keyword sconsEnv SConsignFile SetDefault SetOption -syn keyword sconsEnv SideEffect SourceCode SourceSignatures -syn keyword sconsEnv Split TargetSignatures Tool -syn keyword sconsEnv Value WhereIs -syn keyword sconsConf Configure Finish -syn keyword sconsConf CheckCHeader CheckCXXHeader CheckFun -syn keyword sconsConf CheckLib CheckLibWithHeader CheckType -syn keyword sconsOpt Options -syn match sconsVar /\<[A-Z_][A-Z0-9_]\+\>/ - -" Default highlighting -if version >= 508 || !exists("did_scons_syntax_inits") - if version < 508 - let did_scons_syntax_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif - HiLink sconsTarget Keyword - HiLink sconsEnv Function - HiLink sconsConf Function - HiLink sconsOpt Function - HiLink sconsVar Special - delcommand HiLink -endif - -let b:current_syntax = "scons" -" vim: ts=8 diff --git a/.vim/syntax/swig.vim b/.vim/syntax/swig.vim deleted file mode 100644 index 90666c8..0000000 --- a/.vim/syntax/swig.vim +++ /dev/null @@ -1,44 +0,0 @@ -" Vim syntax file -" Language: SWIG -" Maintainer: Roman Stanchak (rstanchak@yahoo.com) -" Last Change: 2006 July 25 - -" For version 5.x: Clear all syntax items -" For version 6.x: Quit when a syntax file was already loaded -if version < 600 - syntax clear -elseif exists("b:current_syntax") - finish -endif - -" Read the C++ syntax to start with -if version < 600 - so :p:h/cpp.vim -else - runtime! syntax/cpp.vim - unlet b:current_syntax -endif - -" SWIG extentions -syn keyword swigDirective %typemap %define %apply %fragment %include %enddef %extend %newobject %name -syn keyword swigDirective %rename %ignore %keyword %typemap %define %apply %fragment %include -syn keyword swigDirective %enddef %extend %newobject %name %rename %ignore %template %module %constant -syn match swigDirective "%\({\|}\)" -syn match swigUserDef "%[-_a-zA-Z0-9]\+" - -" Default highlighting -if version >= 508 || !exists("did_swig_syntax_inits") - if version < 508 - let did_cpp_syntax_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif - HiLink swigDirective Exception - HiLink swigUserDef PreProc - delcommand HiLink -endif - -let b:current_syntax = "swig" - -" vim: ts=8 diff --git a/.vim/syntax/vala.vim b/.vim/syntax/vala.vim deleted file mode 100644 index a24a8e6..0000000 --- a/.vim/syntax/vala.vim +++ /dev/null @@ -1,172 +0,0 @@ -" Vim syntax file -" Language: Vala -" Maintainers: Emmanuele Bassi -" Hans Vercammen -" Last Change: 2008-12-07 -" Filenames: *.vala *.vapi -" -" REFERENCES: -" [1] http://live.gnome.org/Vala -" -" TODO: Possibly when reaching vala 1.0 release -" - validate code attributes -" - better error checking for known errors -" - full support for valadoc - -if exists("b:current_syntax") - finish -endif - -let s:vala_cpo_save = &cpo -set cpo&vim - -" Types -syn keyword valaType bool char constpointer double float size_t ssize_t string unichar void -syn keyword valaType int int8 int16 int32 int64 long short -syn keyword valaType uint uint8 uint16 uint32 uint64 ulong ushort -" Storage keywords -syn keyword valaStorage class delegate enum errordomain interface namespace struct -" repeat / condition / label -syn keyword valaRepeat break continue do for foreach return while -syn keyword valaConditional else if switch -" User Labels -syn keyword valaLabel case default - -" Modifiers -syn keyword valaModifier abstract const dynamic ensures extern inline internal override -syn keyword valaModifier private protected public requires signal static virtual volatile weak -" Constants -syn keyword valaConstant false null true -" Exceptions -syn keyword valaException try catch finally throw -" Unspecified Statements -syn keyword valaUnspecifiedStatement as base construct delete get in is lock new out params ref sizeof set this throws typeof using value var yield yields - -" Comments -syn cluster valaCommentGroup contains=valaTodo -syn keyword valaTodo contained TODO FIXME XXX NOTE - -" valadoc Comments (ported from javadoc comments in java.vim) -" TODO: need to verify valadoc syntax -if !exists("vala_ignore_valadoc") - syn cluster valaDocCommentGroup contains=valaDocTags,valaDocSeeTag - syn region valaDocTags contained start="{@\(link\|linkplain\|inherit[Dd]oc\|doc[rR]oot\|value\)" end="}" - syn match valaDocTags contained "@\(param\|exception\|throws\|since\)\s\+\S\+" contains=valaDocParam - syn match valaDocParam contained "\s\S\+" - syn match valaDocTags contained "@\(author\|brief\|version\|return\|deprecated\)\>" - syn region valaDocSeeTag contained matchgroup=valaDocTags start="@see\s\+" matchgroup=NONE end="\_."re=e-1 contains=valaDocSeeTagParam - syn match valaDocSeeTagParam contained @"\_[^"]\+"\|\|\(\k\|\.\)*\(#\k\+\((\_[^)]\+)\)\=\)\=@ extend -endif - -" Comment Strings (ported from c.vim) -if exists("vala_comment_strings") - syn match valaCommentSkip contained "^\s*\*\($\|\s\+\)" - syn region valaCommentString contained start=+L\=\\\@" -syn match valaNumber display "\(\<\d\+\.\d*\|\.\d\+\)\([eE][-+]\=\d\+\)\=[fFdD]\=" -syn match valaNumber display "\<\d\+[eE][-+]\=\d\+[fFdD]\=\>" -syn match valaNumber display "\<\d\+\([eE][-+]\=\d\+\)\=[fFdD]\>" - -" when wanted, highlight trailing white space -if exists("vala_space_errors") - if !exists("vala_no_trail_space_error") - syn match valaSpaceError display excludenl "\s\+$" - endif - if !exists("vala_no_tab_space_error") - syn match valaSpaceError display " \+\t"me=e-1 - endif -endif - -" when wanted, set minimum lines for comment syntax syncing -if exists("vala_minlines") - let b:vala_minlines = vala_minlines -else - let b:vala_minlines = 50 -endif -exec "syn sync ccomment valaComment minlines=" . b:vala_minlines - -" The default highlighting. -hi def link valaType Type -hi def link valaStorage StorageClass -hi def link valaRepeat Repeat -hi def link valaConditional Conditional -hi def link valaLabel Label -hi def link valaModifier StorageClass -hi def link valaConstant Constant -hi def link valaException Exception -hi def link valaUnspecifiedStatement Statement -hi def link valaUnspecifiedKeyword Keyword -hi def link valaContextualStatement Statement - -hi def link valaCommentError Error -hi def link valaCommentStartError Error -hi def link valaSpecialError Error -hi def link valaSpecialCharError Error -hi def link valaSpaceError Error - -hi def link valaTodo Todo -hi def link valaCommentL valaComment -hi def link valaCommentStart valaComment -hi def link valaCommentSkip valaComment -hi def link valaComment Comment -hi def link valaDocComment Comment -hi def link valaDocTags Special -hi def link valaDocParam Function -hi def link valaDocSeeTagParam Function -hi def link valaAttribute PreCondit - -hi def link valaCommentString valaString -hi def link valaComment2String valaString -hi def link valaString String -hi def link valaVerbatimString String -hi def link valaCharacter Character -hi def link valaSpecialChar SpecialChar -hi def link valaNumber Number -hi def link valaUnicodeNumber SpecialChar -hi def link valaUnicodeSpecifier SpecialChar - -let b:current_syntax = "vala" - -let &cpo = s:vala_cpo_save -unlet s:vala_cpo_save - -" vim: ts=8 diff --git a/.vim/syntax/vcscommit.vim b/.vim/syntax/vcscommit.vim deleted file mode 100644 index 0cd4c5e..0000000 --- a/.vim/syntax/vcscommit.vim +++ /dev/null @@ -1,31 +0,0 @@ -" Vim syntax file -" Language: VCS commit file -" Maintainer: Bob Hiestand (bob.hiestand@gmail.com) -" License: -" Copyright (c) 2007 Bob Hiestand -" -" Permission is hereby granted, free of charge, to any person obtaining a copy -" of this software and associated documentation files (the "Software"), to -" deal in the Software without restriction, including without limitation the -" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -" sell copies of the Software, and to permit persons to whom the Software is -" furnished to do so, subject to the following conditions: -" -" The above copyright notice and this permission notice shall be included in -" all copies or substantial portions of the Software. -" -" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -" IN THE SOFTWARE. - -if exists("b:current_syntax") - finish -endif - -syntax region vcsComment start="^VCS: " end="$" -highlight link vcsComment Comment -let b:current_syntax = "vcscommit" -- cgit v1.2.3-54-g00ecf