I broke up with neovim....vim is my best friend now
This commit is contained in:
20
dot_vim/plugged/vimtex/test/test-syntax/test-listings.vim
Normal file
20
dot_vim/plugged/vimtex/test/test-syntax/test-listings.vim
Normal file
@@ -0,0 +1,20 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user