File: test-listings.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 (20 lines) | stat: -rw-r--r-- 642 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
source common.vim

EditConcealed test-listings.tex

if empty($INMAKE) | finish | endif

call assert_true(vimtex#syntax#in('texFileArg', 7, 28))
call assert_true(vimtex#syntax#in('texLstZoneInline', 9, 14))

call assert_true(vimtex#syntax#in('texLstZone', 15, 1))
call assert_true(vimtex#syntax#in('texLstZoneC', 23, 1))
call assert_true(vimtex#syntax#in('texLstZonePython', 30, 1))
call assert_true(vimtex#syntax#in('texLstZoneRust', 37, 1))

call assert_true(vimtex#syntax#in('texLstsetArg', 42, 10))

call assert_true(vimtex#syntax#in('texCmd', 46, 18))
call assert_true(vimtex#syntax#in('texCmdSize', 47, 18))

call vimtex#test#finished()