21 lines
640 B
VimL
21 lines
640 B
VimL
source common.vim
|
|
|
|
silent edit 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()
|