File: u.vim

package info (click to toggle)
vim-vimtex 2.16-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,660 kB
  • sloc: makefile: 367; python: 103
file content (18 lines) | stat: -rw-r--r-- 537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
" VimTeX - LaTeX plugin for Vim
"
" Maintainer: Karl Yngve LervÄg
" Email:      karl.yngve@gmail.com
"

function! vimtex#qf#u#caddfile(qf, file) abort " {{{1
  " This is a utility function for loading errors from a file into the quickfix
  " window with ":caddfile" without calling possibly defined QuickFixCmdPost
  " autotocmds e.g. from plugins like vim-qf.

  let l:errorformat_saved = &l:errorformat
  call a:qf.set_errorformat()
  noautocmd execute 'caddfile' a:file
  let &l:errorformat = l:errorformat_saved
endfunction

" }}}1