vimtex/test/vader/env.vader

44 lines
534 B
Plaintext
Raw Normal View History

2016-05-31 17:59:26 -04:00
Before:
set buftype=
silent w!
After:
set buftype=nofile
silent call delete('[Vader-workbench]')
Given tex (Environments: foo and bar):
\begin{foo}
Foo
\end{foo}
\begin{bar}
Bar
\end{bar}
Do (Change env: foo -> baz):
csebaz\<cr>
Expect tex (Verify):
\begin{baz}
Foo
\end{baz}
\begin{bar}
Bar
\end{bar}
Do (Change env: foo -> bar (with completion)):
cse\<c-z>\<c-z>\<c-z>\<cr>
Expect tex (Verify):
\begin{bar}
Foo
\end{bar}
\begin{bar}
Bar
\end{bar}
Before:
After: