- Improved a bit.

This commit is contained in:
Shougo Matsushita 2012-10-27 18:06:46 +09:00
parent b955d17e5e
commit 0a3edfa3a0
1 changed files with 1 additions and 1 deletions

View File

@ -935,7 +935,7 @@ function! s:clear_select_mode_mappings()"{{{
redir END
for line in map(filter(split(mappings, '\n'),
\ "v:val !~# '<Plug>(\\%(neosnippet\\|neocomplcache_snippets\\)_[^)]*'"),
\ "v:val !~# 'neosnippet\\|neocomplcache_snippets'"),
\ "substitute(v:val, '<NL>', '<C-J>', 'g')")
let map = matchstr(line, '^\a*\s*\zs\S\+')
let map = substitute(map, '<NL>', '<C-j>', 'g')