- Improved escape placeholder.
This commit is contained in:
commit
e17f326239
@ -686,7 +686,7 @@ function! s:expand_placeholder(start, end, holder_cnt, line)"{{{
|
|||||||
\ s:get_placeholder_marker_default_pattern(),
|
\ s:get_placeholder_marker_default_pattern(),
|
||||||
\ '\\d\\+', a:holder_cnt, '')
|
\ '\\d\\+', a:holder_cnt, '')
|
||||||
let default = substitute(
|
let default = substitute(
|
||||||
\ matchstr(current_line, default_pattern), '\\\ze.', '', 'g')
|
\ matchstr(current_line, default_pattern), '\\\ze[^\\]', '', 'g')
|
||||||
" Substitute marker.
|
" Substitute marker.
|
||||||
let default = substitute(default,
|
let default = substitute(default,
|
||||||
\ s:get_placeholder_marker_substitute_pattern(),
|
\ s:get_placeholder_marker_substitute_pattern(),
|
||||||
|
@ -411,6 +411,7 @@ CHANGELOG *neosnippet-changelog*
|
|||||||
|
|
||||||
2012-10-17
|
2012-10-17
|
||||||
- Fixed alias problem.
|
- Fixed alias problem.
|
||||||
|
- Improved escape placeholder.
|
||||||
|
|
||||||
2012-10-15
|
2012-10-15
|
||||||
- Improved lua snip.
|
- Improved lua snip.
|
||||||
|
Loading…
Reference in New Issue
Block a user