Merge pull request #321 from wilywampa/target_pattern

Add optional '#:' to target marker pattern
This commit is contained in:
Shougo 2016-01-12 21:51:06 +09:00
commit 6dd4ecf1fc

View File

@ -76,7 +76,7 @@ endfunction"}}}
" Get marker patterns. " Get marker patterns.
function! neosnippet#get_placeholder_target_marker_pattern() "{{{ function! neosnippet#get_placeholder_target_marker_pattern() "{{{
return '\${\d\+:TARGET\%(:.\{-}\)\?\\\@<!}' return '\${\d\+:\(#:\)\?TARGET\%(:.\{-}\)\?\\\@<!}'
endfunction"}}} endfunction"}}}
function! neosnippet#get_placeholder_marker_pattern() "{{{ function! neosnippet#get_placeholder_marker_pattern() "{{{
return '<`\d\+\%(:.\{-}\)\?\\\@<!`>' return '<`\d\+\%(:.\{-}\)\?\\\@<!`>'