nvim-config

Log | Files | Refs | Submodules | README

latexmk.vim (752B)


      1 " Vim latexmk integration
      2 if exists("current_compiler")
      3   finish
      4 endif
      5 let current_compiler = "latexmk"
      6 
      7 CompilerSet makeprg=latexmk\ -pdf\ -shell-escape\ %:t:r
      8 CompilerSet errorformat=%E!\ LaTeX\ %trror:\ %m,
      9 	\%E!\ %m,
     10 	\%+WLaTeX\ %.%#Warning:\ %.%#line\ %l%.%#,
     11 	\%+W%.%#\ at\ lines\ %l--%*\\d,
     12 	\%WLaTeX\ %.%#Warning:\ %m,
     13 	\%Cl.%l\ %m,
     14 	\%+C\ \ %m.,
     15 	\%+C%.%#-%.%#,
     16 	\%+C%.%#[]%.%#,
     17 	\%+C[]%.%#,
     18 	\%+C%.%#%[{}\\]%.%#,
     19 	\%+C<%.%#>%.%#,
     20 	\%C\ \ %m,
     21 	\%-GSee\ the\ LaTeX%m,
     22 	\%-GType\ \ H\ <return>%m,
     23 	\%-G\ ...%.%#,
     24 	\%-G%.%#\ (C)\ %.%#,
     25 	\%-G(see\ the\ transcript%.%#),
     26 	\%-G\\s%#,
     27 	\%+O(%*[^()])%r,
     28 	\%+O%*[^()](%*[^()])%r,
     29 	\%+P(%f%r,
     30 	\%+P\ %\\=(%f%r,
     31 	\%+P%*[^()](%f%r,
     32 	\%+P[%\\d%[^()]%#(%f%r,
     33 	\%+Q)%r,
     34 	\%+Q%*[^()])%r,
     35 	\%+Q[%\\d%*[^()])%r