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.