From 228bc4c416092eb2601329aa881915a565ee64d2 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 29 Oct 2018 09:57:50 +0100 Subject: vim-patch:d473c8c10126 Update runtime files. https://github.com/vim/vim/commit/d473c8c101262702ea9eeb14907ee20a786942b2 --- runtime/ftplugin/vim.vim | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'runtime/ftplugin/vim.vim') diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim index da27e35faf..eb8061d84f 100644 --- a/runtime/ftplugin/vim.vim +++ b/runtime/ftplugin/vim.vim @@ -1,7 +1,7 @@ " Vim filetype plugin " Language: Vim " Maintainer: Bram Moolenaar -" Last Change: 2017 Dec 05 +" Last Change: 2018 Aug 07 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -17,20 +17,20 @@ set cpo-=C if !exists('*VimFtpluginUndo') func VimFtpluginUndo() setl fo< isk< com< tw< commentstring< keywordprg< - if exists(b:did_add_maps) - silent! nunmap [[' - silent! vunmap [[' - silent! nunmap ]]' - silent! vunmap ]]' - silent! nunmap []' - silent! vunmap []' - silent! nunmap ][' - silent! vunmap ][' - silent! nunmap ]"' - silent! vunmap ]"' - silent! nunmap ["' - silent! vunmap ["' - endif + if exists('b:did_add_maps') + silent! nunmap [[ + silent! vunmap [[ + silent! nunmap ]] + silent! vunmap ]] + silent! nunmap [] + silent! vunmap [] + silent! nunmap ][ + silent! vunmap ][ + silent! nunmap ]" + silent! vunmap ]" + silent! nunmap [" + silent! vunmap [" + endif unlet! b:match_ignorecase b:match_words b:match_skip b:did_add_maps endfunc endif -- cgit