Merge pull request #321 from wilywampa/target_pattern
Add optional '#:' to target marker pattern
This commit is contained in:
commit
6dd4ecf1fc
@ -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\+\%(:.\{-}\)\?\\\@<!`>'
|
||||||
|
Loading…
Reference in New Issue
Block a user