mirror of
https://github.com/gryf/vim-latex-compiler.git
synced 2025-12-17 03:20:23 +01:00
Added g:rubber_command for pointing to the compile command
This commit is contained in:
@@ -5,6 +5,11 @@ if exists("current_compiler")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
let current_compiler = "rubber"
|
let current_compiler = "rubber"
|
||||||
CompilerSet makeprg=rubber\ -d\ %
|
|
||||||
"CompilerSet efm=%f:%l:\ [%t]%m,%f:%l:%m
|
|
||||||
|
|
||||||
|
if exists('g:rubber_command')
|
||||||
|
execute 'CompilerSet makeprg='.escape(g:rubber_command, ' \|"').'\ %'
|
||||||
|
else
|
||||||
|
CompilerSet makeprg=rubber\ -d\ %
|
||||||
|
endif
|
||||||
|
|
||||||
|
"CompilerSet efm=%f:%l:\ [%t]%m,%f:%l:%m
|
||||||
|
|||||||
Reference in New Issue
Block a user