From 0a3edfa3a0b1560ee000db3a2e634950fc317500 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Sat, 27 Oct 2012 18:06:46 +0900 Subject: [PATCH] - Improved a bit. --- autoload/neosnippet.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/neosnippet.vim b/autoload/neosnippet.vim index eebf062..fcbf9bd 100644 --- a/autoload/neosnippet.vim +++ b/autoload/neosnippet.vim @@ -935,7 +935,7 @@ function! s:clear_select_mode_mappings()"{{{ redir END for line in map(filter(split(mappings, '\n'), - \ "v:val !~# '(\\%(neosnippet\\|neocomplcache_snippets\\)_[^)]*'"), + \ "v:val !~# 'neosnippet\\|neocomplcache_snippets'"), \ "substitute(v:val, '', '', 'g')") let map = matchstr(line, '^\a*\s*\zs\S\+') let map = substitute(map, '', '', 'g')