- Improved documentation.

This commit is contained in:
Shougo Matsushita
2012-10-19 18:38:52 +09:00
parent f0a97fa957
commit a0c387de1e
2 changed files with 8 additions and 1 deletions

View File

@@ -808,7 +808,8 @@ function! s:eval_snippet(snippet_text)"{{{
endif
let prev_match = matchend(a:snippet_text,
\ '\\\@<!`.\{-}\\\@<!`', match)
let snip_word .= eval(a:snippet_text[match+1 : prev_match - 2])
sandbox let snip_word .= eval(
\ a:snippet_text[match+1 : prev_match - 2])
let match = match(a:snippet_text, '\\\@<!`.\{-}\\\@<!`', prev_match)
endwhile