jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/vim-7.4-licensemacro-1151450.patch

df7669
diff -up vim74_new/runtime/syntax/spec.vim.1151450 vim74_new/runtime/syntax/spec.vim
df7669
--- vim74_new/runtime/syntax/spec.vim.1151450	2014-10-13 10:45:07.570944538 +0200
df7669
+++ vim74_new/runtime/syntax/spec.vim	2014-10-13 10:44:09.046945965 +0200
df7669
@@ -88,9 +88,9 @@ syn region specSectionMacroBracketArea o
df7669
 "%% Files Section %%
df7669
 "TODO %config valid parameters: missingok\|noreplace
df7669
 "TODO %verify valid parameters: \(not\)\= \(md5\|atime\|...\)
df7669
-syn region specFilesArea matchgroup=specSection start='^%[Ff][Ii][Ll][Ee][Ss]\>' skip='%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\)\>' end='^%[a-zA-Z]'me=e-2 contains=specFilesOpts,specFilesDirective,@specListedFiles,specComment,specCommandSpecial,specMacroIdentifier
df7669
+syn region specFilesArea matchgroup=specSection start='^%[Ff][Ii][Ll][Ee][Ss]\>' skip='%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\|license\)\>' end='^%[a-zA-Z]'me=e-2 contains=specFilesOpts,specFilesDirective,@specListedFiles,specComment,specCommandSpecial,specMacroIdentifier
df7669
 "tip: remember to include new itens in specFilesArea above
df7669
-syn match  specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\)\>'
df7669
+syn match  specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\|license\)\>'
df7669
 
df7669
 "valid options for certain section headers
df7669
 syn match specDescriptionOpts contained '\s-[ln]\s*\a'ms=s+1,me=e-1