From 365357b741cd1529e623431bec08766ff09635a4 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Sat, 6 Oct 2012 17:16:56 +0900 Subject: [PATCH] - Fixed substitute marker. --- autoload/neosnippet.vim | 2 +- doc/neosnippet.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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.