- Deleted sandbox execution.

This commit is contained in:
Shougo Matsushita 2012-10-25 10:50:25 +09:00
parent f87a6b324a
commit f46f36837e
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
"============================================================================= "=============================================================================
" FILE: neosnippet.vim " FILE: neosnippet.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com> " AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 21 Oct 2012. " Last Modified: 25 Oct 2012.
" License: MIT license {{{ " License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining " Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the " a copy of this software and associated documentation files (the
@ -835,7 +835,7 @@ function! s:eval_snippet(snippet_text)"{{{
endif endif
let prev_match = matchend(a:snippet_text, let prev_match = matchend(a:snippet_text,
\ '\\\@<!`.\{-}\\\@<!`', match) \ '\\\@<!`.\{-}\\\@<!`', match)
sandbox let snip_word .= eval( let snip_word .= eval(
\ a:snippet_text[match+1 : prev_match - 2]) \ a:snippet_text[match+1 : prev_match - 2])
let match = match(a:snippet_text, '\\\@<!`.\{-}\\\@<!`', prev_match) let match = match(a:snippet_text, '\\\@<!`.\{-}\\\@<!`', prev_match)

View File

@ -454,6 +454,9 @@ snippet *neosnippet-unite-action-snippet*
============================================================================== ==============================================================================
CHANGELOG *neosnippet-changelog* CHANGELOG *neosnippet-changelog*
2012-10-25
- Deleted sandbox execution.
2012-10-23 2012-10-23
- Improved neosnippet#util#expand(). - Improved neosnippet#util#expand().