jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

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

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