Add optional '#:' to target marker pattern
This commit is contained in:
parent
da9806f825
commit
dbb8491f2f
@ -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