diff runtime/ftplugin/spec.vim @ 6647:3af822eb4da5

Updated runtime files.
author Bram Moolenaar <bram@vim.org>
date Sat, 28 Feb 2015 13:11:45 +0100
parents c2098c3095e7
children 0303182665d5
line wrap: on
line diff
--- a/runtime/ftplugin/spec.vim
+++ b/runtime/ftplugin/spec.vim
@@ -2,7 +2,7 @@
 " Filename: spec.vim
 " Maintainer: Igor Gnatenko i.gnatenko.brain@gmail.com
 " Former Maintainer: Gustavo Niemeyer <niemeyer@conectiva.com> (until March 2014)
-" Last Change: Sun Mar 2 11:24 MSK 2014 Igor Gnatenko
+" Last Change: Fri Feb 20 16:01 MSK 2014 Igor Gnatenko
 
 if exists("b:did_ftplugin")
 	finish
@@ -18,7 +18,9 @@ if !exists("no_plugin_maps") && !exists(
 	endif
 endif
 
-noremap <buffer> <unique> <script> <Plug>SpecChangelog :call <SID>SpecChangelog("")<CR>
+if !hasmapto("call <SID>SpecChangelog(\"\")<CR>")
+       noremap <buffer> <unique> <script> <Plug>SpecChangelog :call <SID>SpecChangelog("")<CR>
+endif
 
 if !exists("*s:SpecChangelog")
 	function s:SpecChangelog(format)