diff --git a/autoload/neosnippet.vim b/autoload/neosnippet.vim index 5d762d2..ea4f27d 100644 --- a/autoload/neosnippet.vim +++ b/autoload/neosnippet.vim @@ -657,7 +657,7 @@ function! s:search_outof_range(col)"{{{ let pattern = s:get_placeholder_marker_pattern() if search(pattern, 'w') > 0 - call s:expand_placeholder(line('.'), 0, '\d\+', line('.')) + call s:expand_placeholder(line('.'), 0, '\\d\\+', line('.')) return 1 endif diff --git a/doc/neosnippet.txt b/doc/neosnippet.txt index b3d6d55..30ec0be 100644 --- a/doc/neosnippet.txt +++ b/doc/neosnippet.txt @@ -409,6 +409,7 @@ CHANGELOG *neosnippet-changelog* 2012-10-06 - Improved indent snippet behavior. +- Fixed substitute marker. 2012-10-04 - Refactored snippets filter.