From be90bb4f938ef7e5debfa65e4a201993eb9367c9 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Wed, 3 Jul 2013 12:42:26 +0900 Subject: [PATCH] - Improved g:neosnippet#disable_select_mode_mappings behavior. --- autoload/neosnippet.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/neosnippet.vim b/autoload/neosnippet.vim index 66acefa..32a3877 100644 --- a/autoload/neosnippet.vim +++ b/autoload/neosnippet.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: neosnippet.vim " AUTHOR: Shougo Matsushita -" Last Modified: 27 Jun 2013. +" Last Modified: 03 Jul 2013. " License: MIT license {{{ " Permission is hereby granted, free of charge, to any person obtaining " a copy of this software and associated documentation files (the @@ -1227,7 +1227,7 @@ function! neosnippet#clear_select_mode_mappings() "{{{ redir END for line in map(filter(split(mappings, '\n'), - \ "v:val !~# 'neosnippet\\|neocomplcache_snippets'"), + \ "v:val !~# '^s'"), \ "substitute(v:val, '', '', 'g')") let map = matchstr(line, '^\a*\s*\zs\S\+') let map = substitute(map, '', '', 'g')