File: test-toggle-lists.vim

package info (click to toggle)
vim-vimtex 2.17-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,844 kB
  • sloc: makefile: 360; python: 103
file content (15 lines) | stat: -rw-r--r-- 293 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set nocompatible
set runtimepath^=../..
filetype plugin on
syntax on

nnoremap q :qall!<cr>

silent edit test-toggle-lists.tex

normal! 5G
call vimtex#env#toggle()
call assert_equal('\begin{enumerate}', getline(4))
call assert_equal('\end{enumerate}', getline(7))

call vimtex#test#finished()