Skip to content

Commit

Permalink
mac latexview
Browse files Browse the repository at this point in the history
Nathaniel Hellabyte committed Feb 9, 2015
1 parent 57d901f commit 1330738
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ftplugin/latex-box/common.vim
Original file line number Diff line number Diff line change
@@ -260,15 +260,12 @@ function! LatexBox_View(...)
echomsg fnamemodify(outfile, ':.') . ' is not readable'
return
endif
echo outfile
let cmd = g:LatexBox_viewer . ' ' . lvargs . ' ' . shellescape(outfile)
echo cmd
if has('win32')
let cmd = '!start /b ' . cmd . ' >nul'
else
let cmd = '!' . cmd . ' &>/dev/null &'
endif
echo 'true'
silent execute cmd
if !has("gui_running")
redraw!

0 comments on commit 1330738

Please sign in to comment.