From 5970efcf6b2e686df52ead4c5152475e1f971162 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Thu, 18 Oct 2012 16:31:45 +0900 Subject: [PATCH] - Fixed menu pattern. --- autoload/neosnippet.vim | 3 ++- doc/neosnippet.txt | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/autoload/neosnippet.vim b/autoload/neosnippet.vim index efcc9cd..3734331 100644 --- a/autoload/neosnippet.vim +++ b/autoload/neosnippet.vim @@ -209,7 +209,8 @@ endfunction"}}} function! s:set_snippet_pattern(dict)"{{{ let a:dict.word = substitute(a:dict.word, '\n$', '', '') let menu_pattern = (a:dict.word =~ - \ s:get_placeholder_marker_substitute_pattern()) ? + \ s:get_placeholder_marker_substitute_pattern() + \ . '.*' . s:get_placeholder_marker_substitute_pattern()) ? \ ' ' : '[Snip] ' let abbr = get(a:dict, 'abbr', substitute(a:dict.word, diff --git a/doc/neosnippet.txt b/doc/neosnippet.txt index e113e07..ce4c602 100644 --- a/doc/neosnippet.txt +++ b/doc/neosnippet.txt @@ -415,11 +415,14 @@ snippet *neosnippet-unite-action-snippet* ============================================================================== CHANGELOG *neosnippet-changelog* +2012-10-18 +- Fixed s:get_sources_list(). +- Added unite__new_candidate action in snippet source. +- Fixed menu pattern. + 2012-10-17 - Fixed alias problem. - Improved escape placeholder. -- Fixed s:get_sources_list(). -- Added unite__new_candidate action in snippet source. 2012-10-15 - Improved lua snip.