Mercurial > vim
comparison runtime/syntax/spec.vim @ 45:e474bae3795f
updated for version 7.0027
author | vimboss |
---|---|
date | Fri, 31 Dec 2004 20:58:58 +0000 |
parents | 3fc0f57ecb91 |
children | a97c6902ecd9 |
comparison
equal
deleted
inserted
replaced
44:af1bcb9a13c0 | 45:e474bae3795f |
---|---|
1 " Filename: spec.vim | 1 " Filename: spec.vim |
2 " Purpose: Vim syntax file | 2 " Purpose: Vim syntax file |
3 " Language: SPEC: Build/install scripts for Linux RPM packages | 3 " Language: SPEC: Build/install scripts for Linux RPM packages |
4 " Maintainer: Donovan Rebbechi elflord@pegasus.rutgers.edu | 4 " Maintainer: Donovan Rebbechi elflord@pegasus.rutgers.edu |
5 " URL: http://pegasus.rutgers.edu/~elflord/vim/syntax/spec.vim | 5 " URL: http://pegasus.rutgers.edu/~elflord/vim/syntax/spec.vim |
6 " Last Change: Tue Oct 3 17:35:15 BRST 2000 <aurelio@conectiva.com.br> | 6 " Last Change: Fri Dec 3 11:54 EST 2004 Martin Dalecki |
7 | 7 |
8 " For version 5.x: Clear all syntax items | 8 " For version 5.x: Clear all syntax items |
9 " For version 6.x: Quit when a syntax file was already loaded | 9 " For version 6.x: Quit when a syntax file was already loaded |
10 if version < 600 | 10 if version < 600 |
11 syntax clear | 11 syntax clear |
80 "------------------------------------------------------------------------------ | 80 "------------------------------------------------------------------------------ |
81 " here's is all the spec sections definitions: PreAmble, Description, Package, | 81 " here's is all the spec sections definitions: PreAmble, Description, Package, |
82 " Scripts, Files and Changelog | 82 " Scripts, Files and Changelog |
83 | 83 |
84 "One line macros - valid in all ScriptAreas | 84 "One line macros - valid in all ScriptAreas |
85 "tip: remember do include new itens on specScriptArea's skip section | 85 "tip: remember do include new items on specScriptArea's skip section |
86 syn region specSectionMacroArea oneline matchgroup=specSectionMacro start='^%\(define\|patch\d*\|setup\|configure\|GNUconfigure\|find_lang\|makeinstall\)\>' end='$' contains=specCommandOpts,specMacroIdentifier | 86 syn region specSectionMacroArea oneline matchgroup=specSectionMacro start='^%\(define\|patch\d*\|setup\|configure\|GNUconfigure\|find_lang\|makeinstall\|include\)\>' end='$' contains=specCommandOpts,specMacroIdentifier |
87 syn region specSectionMacroBracketArea oneline matchgroup=specSectionMacro start='^%{\(configure\|GNUconfigure\|find_lang\|makeinstall\)}' end='$' contains=specCommandOpts,specMacroIdentifier | 87 syn region specSectionMacroBracketArea oneline matchgroup=specSectionMacro start='^%{\(configure\|GNUconfigure\|find_lang\|makeinstall\)}' end='$' contains=specCommandOpts,specMacroIdentifier |
88 | 88 |
89 "%% Files Section %% | 89 "%% Files Section %% |
90 "TODO %config valid parameters: missingok\|noreplace | 90 "TODO %config valid parameters: missingok\|noreplace |
91 "TODO %verify valid parameters: \(not\)\= \(md5\|atime\|...\) | 91 "TODO %verify valid parameters: \(not\)\= \(md5\|atime\|...\) |