jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

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

3ef2ca
diff -up vim74_new/runtime/syntax/spec.vim.1151450 vim74_new/runtime/syntax/spec.vim
3ef2ca
--- vim74_new/runtime/syntax/spec.vim.1151450	2014-10-13 10:45:07.570944538 +0200
3ef2ca
+++ vim74_new/runtime/syntax/spec.vim	2014-10-13 10:44:09.046945965 +0200
3ef2ca
@@ -88,9 +88,9 @@ syn region specSectionMacroBracketArea o
3ef2ca
 "%% Files Section %%
3ef2ca
 "TODO %config valid parameters: missingok\|noreplace
3ef2ca
 "TODO %verify valid parameters: \(not\)\= \(md5\|atime\|...\)
3ef2ca
-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
3ef2ca
+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
3ef2ca
 "tip: remember to include new itens in specFilesArea above
3ef2ca
-syn match  specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\)\>'
3ef2ca
+syn match  specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\|license\)\>'
3ef2ca
 
3ef2ca
 "valid options for certain section headers
3ef2ca
 syn match specDescriptionOpts contained '\s-[ln]\s*\a'ms=s+1,me=e-1