From 029f72b1a93430b24b88eb3a72c6114d9f149737 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:09:20 +0200 Subject: Adding upstream version 2:9.1.0016. Signed-off-by: Daniel Baumann --- runtime/ftplugin/spec.vim | 209 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 209 insertions(+) create mode 100644 runtime/ftplugin/spec.vim (limited to 'runtime/ftplugin/spec.vim') diff --git a/runtime/ftplugin/spec.vim b/runtime/ftplugin/spec.vim new file mode 100644 index 0000000..9040e19 --- /dev/null +++ b/runtime/ftplugin/spec.vim @@ -0,0 +1,209 @@ +" Plugin to update the %changelog section of RPM spec files +" Filename: spec.vim +" Maintainer: Igor Gnatenko i.gnatenko.brain@gmail.com +" Former Maintainer: Gustavo Niemeyer (until March 2014) +" Last Change: Mon Jun 01 21:15 MSK 2015 Igor Gnatenko +" Update by Zdenek Dohnal, 2022 May 17 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&vim + +if !exists("no_plugin_maps") && !exists("no_spec_maps") + if !hasmapto("SpecChangelog") + map c SpecChangelog + endif +endif + +if !hasmapto("call SpecChangelog(\"\")") + noremap