- Fixed menu pattern.

This commit is contained in:
Shougo Matsushita 2012-10-18 16:31:45 +09:00
parent ae1c34cdfa
commit 5970efcf6b
2 changed files with 7 additions and 3 deletions

View File

@ -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> ' : '[Snip] '
let abbr = get(a:dict, 'abbr', substitute(a:dict.word,

View File

@ -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.