Add optional '#:' to target marker pattern

This commit is contained in:
Jacob Niehus 2016-01-10 21:09:45 -07:00
parent da9806f825
commit dbb8491f2f

View File

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