aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/spec.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-01 16:45:37 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-01 16:51:53 +0200
commit47b4eb110da8dfab1fca51ce4cc68b224d85b966 (patch)
tree0d473109bee0f447d6f0e4eef33f46cb865e11df /runtime/syntax/spec.vim
parent87140f234ac1f152f6f273dee5ab1e42c7b1d78b (diff)
downloadrneovim-47b4eb110da8dfab1fca51ce4cc68b224d85b966.tar.gz
rneovim-47b4eb110da8dfab1fca51ce4cc68b224d85b966.tar.bz2
rneovim-47b4eb110da8dfab1fca51ce4cc68b224d85b966.zip
vim-patch:4c92e75dd4dd
Update runtime files. https://github.com/vim/vim/commit/4c92e75dd4ddb68dd92a86dd02d53c70dd4af33a vim-patch:c854898881c0 Revert change accidentally included in runtime file updates. Closes vim/vim#3998. https://github.com/vim/vim/commit/c854898881c02259f90170f210bf65bbd20cc1fc
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 3a7dc9e422..ae93fe51a4 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: Sat Apr 9 15:30 2016 Filip SzymaƄski
+" Last Change: 2019 Feb 12
" 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\|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\)\>' 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\|verify\|ghost\)\>'
+syn match specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\)\>'
"valid options for certain section headers
syn match specDescriptionOpts contained '\s-[ln]\s*\a'ms=s+1,me=e-1