Something wrong happens when I extend the default snippet for begin/end expansion:
snippet "b(egin)?" "begin{} / end{}" !br \begin{${1:something}}$2 ${0:${VISUAL}} \end{$1} endsnippet
Then I type: begin<tab>test<C-j>{option}
and the output I get is the following: \begin{test}{option}
\end{test}{option}
It's clear that the string '{option}' is not supposed to be at the end.
Py version: 2.7.5 (default, May 12 2013, 12:00:47) [GCC 4.8.0 20130502 (prerelease)]
Something wrong happens when I extend the default snippet for begin/end expansion:
snippet "b(egin)?" "begin{} / end{}" !br ${1:something} }$2
\begin{
${0:${VISUAL}}
\end{$1}
endsnippet
Then I type: test<C- j>{option}
begin<tab>
and the output I get is the following: test}{option}
\begin{
\end{test}{option}
It's clear that the string '{option}' is not supposed to be at the end.
Py version:
2.7.5 (default, May 12 2013, 12:00:47)
[GCC 4.8.0 20130502 (prerelease)]