File: test-beamer.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 (26 lines) | stat: -rw-r--r-- 549 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
22
23
24
25
26
set nocompatible
let &rtp = '../..,' . &rtp
filetype plugin indent on
syntax enable

nnoremap q :qall!<cr>

silent edit test-beamer.tex

try
  call vimtex#qf#setqflist()
catch /VimTeX: No log file found/
  echo 'VimTeX: No log file found'
  cquit
endtry

let s:qf = getqflist()

call assert_equal(30, s:qf[0].lnum)
call assert_equal('W', s:qf[0].type)
call assert_equal(
      \ 'Overfull \vbox (5.5187pt too high) detected at line 30',
      \ s:qf[0].text)
call assert_equal('test-beamer.tex', bufname(s:qf[0].bufnr))

call vimtex#test#finished()