summaryrefslogtreecommitdiff
path: root/runtime/syntax/spec.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-09 19:16:22 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-09 19:16:22 +0200
commita6c27c47ddf081859659d7de1caec675147e466b (patch)
tree7cb8dad5285226f84ed4976ced8a3bc8f0f59221 /runtime/syntax/spec.vim
parentd4aa83af1d691fdabbc8e6aab36db2c96ea4d4b6 (diff)
downloadvim-git-a6c27c47ddf081859659d7de1caec675147e466b.tar.gz
Update runtime files
Diffstat (limited to 'runtime/syntax/spec.vim')
-rw-r--r--runtime/syntax/spec.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/syntax/spec.vim b/runtime/syntax/spec.vim
index ae93fe51a..2d2550559 100644
--- a/runtime/syntax/spec.vim
+++ b/runtime/syntax/spec.vim
@@ -3,7 +3,7 @@
" Language: SPEC: Build/install scripts for Linux RPM packages
" Maintainer: Igor Gnatenko i.gnatenko.brain@gmail.com
" Former Maintainer: Donovan Rebbechi elflord@panix.com (until March 2014)
-" Last Change: 2019 Feb 12
+" Last Change: 2019 May 07
" quit when a syntax file was already loaded
if exists("b:current_syntax")
@@ -86,9 +86,9 @@ syn region specSectionMacroBracketArea oneline matchgroup=specSectionMacro start
"%% Files Section %%
"TODO %config valid parameters: missingok\|noreplace
"TODO %verify valid parameters: \(not\)\= \(md5\|atime\|...\)
-syn region specFilesArea matchgroup=specSection start='^%[Ff][Ii][Ll][Ee][Ss]\>' skip='%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\)\>' end='^%[a-zA-Z]'me=e-2 contains=specFilesOpts,specFilesDirective,@specListedFiles,specComment,specCommandSpecial,specMacroIdentifier
+syn region specFilesArea matchgroup=specSection start='^%[Ff][Ii][Ll][Ee][Ss]\>' skip='%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\|exclude\)\>' end='^%[a-zA-Z]'me=e-2 contains=specFilesOpts,specFilesDirective,@specListedFiles,specComment,specCommandSpecial,specMacroIdentifier
"tip: remember to include new itens in specFilesArea above
-syn match specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\)\>'
+syn match specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\|exclude\)\>'
"valid options for certain section headers
syn match specDescriptionOpts contained '\s-[ln]\s*\a'ms=s+1,me=e-1