]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(spec): Recognize SourceLicense tag name in RPM spec syntax (#14046)
authorPetr Pisar <ppisar@redhat.com>
Thu, 22 Feb 2024 19:39:09 +0000 (20:39 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Feb 2024 19:39:09 +0000 (20:39 +0100)
commit315cd1fbcbba7c44ec8743f03645bfcaef58bd55
tree7f4bba01102f7369ae0a5cc2ff502d0ca3a55f11
parent2a65e739447949a7aee966ce8a3b75521b2a79ea
runtime(spec): Recognize SourceLicense tag name in RPM spec syntax (#14046)

rpm-4.19.0 added a new SourceLicense tag. It is used at the same place
as License tag.

This patch adds the new tag name into a Vim syntax file to be
highligted the same way as the License tag. Note that it has to be
defined in the syntax file before Source\d* regexp. Otherwise it's not
recognized by Vim.

Signed-off-by: Petr Písař <ppisar@redhat.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/spec.vim