File: chktex.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-- 452 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if exists('current_compiler') | finish | endif
let current_compiler = 'chktex'

let s:cpo_save = &cpo
set cpo&vim

" Ensure VimTeX options are loaded
call vimtex#options#init()

let &l:makeprg = printf('chktex --quiet --verbosity=4 %s %s',
      \ g:vimtex_lint_chktex_parameters,
      \ g:vimtex_lint_chktex_ignore_warnings)
let &l:errorformat = '%A"%f"\, line %l: %m'
      \ . ',%-Z%p^'
      \ . ',%-C%.%#'

let &cpo = s:cpo_save
unlet s:cpo_save