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

EditConcealed test-minted.tex

if empty($INMAKE) | finish | endif

" Minted inside \paragraphs (#1537)
call assert_true(vimtex#syntax#in('javaScopeDecl', 72, 3))

" Newminted on unrecognized languages (#1616)
call assert_true(vimtex#syntax#in('texMintedZoneLog', 112, 1))
call assert_true(vimtex#syntax#in('texMintedZoneShellsession', 116, 1))

" " Doing :e should not destroy nested syntax and similar
" call assert_true(vimtex#syntax#in('pythonFunction', 38, 5))
" edit
" call assert_true(vimtex#syntax#in('pythonFunction', 38, 5))

call assert_true(vimtex#syntax#in('texMintedZoneJson', 121, 1))

call vimtex#test#finished()