summaryrefslogtreecommitdiffstats
path: root/ftplugin/latex-box/latexmk.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-11-11 02:37:21 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2014-11-11 02:37:21 +0100
commit617b01a5b6aa3cadb25b2ff8639e330cfc6cf3c1 (patch)
tree97fc653e0c19839490bd7aac6beeb4f5754155be /ftplugin/latex-box/latexmk.vim
parentbd35da8e9ca0bddd95539bef0c8f4857dc4cc746 (diff)
downloadvim-polyglot-617b01a5b6aa3cadb25b2ff8639e330cfc6cf3c1.tar.gz
vim-polyglot-617b01a5b6aa3cadb25b2ff8639e330cfc6cf3c1.zip
Updatev1.10.3
Diffstat (limited to 'ftplugin/latex-box/latexmk.vim')
-rw-r--r--ftplugin/latex-box/latexmk.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/ftplugin/latex-box/latexmk.vim b/ftplugin/latex-box/latexmk.vim
index bb70f83d..6c5d3eb1 100644
--- a/ftplugin/latex-box/latexmk.vim
+++ b/ftplugin/latex-box/latexmk.vim
@@ -23,6 +23,9 @@ endif
if ! exists('g:LatexBox_quickfix')
let g:LatexBox_quickfix = 1
endif
+if ! exists('g:LatexBox_personal_latexmkrc')
+ let g:LatexBox_personal_latexmkrc = 0
+endif
" }}}
@@ -177,7 +180,9 @@ function! LatexBox_Latexmk(force)
let cmd = 'cd ' . texroot . ' && '
endif
let cmd .= env . ' latexmk'
- let cmd .= ' -' . g:LatexBox_output_type
+ if ! g:LatexBox_personal_latexmkrc
+ let cmd .= ' -' . g:LatexBox_output_type
+ endif
let cmd .= ' -quiet '
let cmd .= g:LatexBox_latexmk_options
if a:force